Code Monkey home page Code Monkey logo

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.