Giter VIP home page Giter VIP logo

metreload's Introduction

MetReLoad

Documentation Status Build Status

Python application for downloading meteorological reanalysis data

Installation

Python 3 is required. A conda environment or a virtual environment is recommended.

Install required packages with

pip install -r requirements.txt

Install MetReLoad with

pip install .

Usage

metreload [OPTIONS] COMMAND [OPTIONS]...

General options

--version  Show version and exit
--debug    Set debug mode on
--help     Show this message and exit.

See documentation in folder docs for more information.

Contributing

Install development requirements into your current Python environment with

pip install -r requirements.txt -r requirements_dev.txt

Alternatively, if you are using conda you can also create a new development environment with

conda env create --file conda/develop.yml --name <NAME>

Install the package in editable mode with

pip install -e .

Before committing, run tests with

python setup.py test

Building with PyInstaller

PyInstaller version 3.4 (or newer) is required. Follow above instructions to install all development requirements (including PyInstaller). Excute

pyinstaller [-y] metreload.spec

to build an executable distribution into dist/metreload. (Use the -y switch to bypass confirmation for replacing old files.)

 


EU emblem This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 774629.

metreload's People

Contributors

erkkar avatar fabianop avatar tltoni avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

mhdella

metreload's Issues

Error in data retrieving

when I use the package trying to retrieve data from the merra collection in this way:

data = mr.get_merra2_collection_dataframe('M2I1NXASM', "myusername", "mypassword", "2015-01-01", "2015-01-02", ["T2M"],(53.3498,6.2603) )

I get this error:
[D 200520 11:00:53 merra2:133] Setting up session to https://goldsmr4.gesdisc.eosdis.nasa.gov/dods/M2I1NXASM as fabianop
[D 200520 11:01:01 merra2:140] Opening Pydap data store
[D 200520 11:01:05 merra2:152] Opening dataset
[D 200520 11:01:28 merra2:96] Making a subset copy
[D 200520 11:01:28 merra2:217] Subsetting dataset
[D 200520 11:01:28 merra2:196] Loading dask array to memory

tests\test_merra2_server.py:2 (test_merra2_collection_to_dataframe)
self = <DatasetType with children 't2m'>, key = 't2m.t2m'

def _getitem_string(self, key):
    """ Assume that key is a string type """
    try:
      return self._dict[quote(key)]

E KeyError: 't2m%2Et2m'

C:\ProgramData\Anaconda3\envs\MetReLoad\lib\site-packages\pydap\model.py:404: KeyError

IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.