GithubHelp home page GithubHelp logo

ouranosinc / pymerra2 Goto Github PK

View Code? Open in Web Editor NEW
8.0 12.0 2.0 48 KB

Python utilities for downloading NASA MERRA2 data in NetCDF

Home Page: https://gmao.gsfc.nasa.gov/reanalysis/MERRA-2/

License: Apache License 2.0

Python 96.87% Julia 3.13%
climate-change nasa-data netcdf reanalysis python

pymerra2's Introduction

pymerra2

Build Status

Usage

Examples are found in the template files.

Before beginning, be sure to read the GES-DISC how-to which explains the method of entering your credentials for data access!

https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Download%20Data%20Files%20from%20HTTP%20Service%20with%20wget

The second step is to find the variables of interest in:

https://gmao.gsfc.nasa.gov/pubs/docs/Bosilovich785.pdf

Note that there are often both instantaneous fields and time-averaged fields for the same variable.

The collection name and the esdt are in the name of each section of that document, e.g. collection = tavg1_2d_flx_Nx and esdt = M2T1NXFLX. However, the actual esdt directory on the server also has a suffix, that can be verified on the servers themself:

https://goldsmr4.gesdisc.eosdis.nasa.gov/data/ https://goldsmr5.sci.gsfc.nasa.gov/data/

so we set esdt_dir = M2T1NXFLX.5.12.4

These information can be given to the various functions as a dictionary, or some default values can be set in merra2_variables.py. CF Standard Names can be found at http://cfconventions.org/standard-names.html

Limitations

  • Chunk sizes are currently set rather arbitrarily.
  • Naming files is forced to some common cases, not fully customizable.
  • Constant fields require manually downloading a file first.
  • Daily NetCDF functions are slightly modified copies of subdaily functions, should be combined into one with calls to time frequency dependent subfunctions.

pymerra2's People

Contributors

bstdenis avatar zeitsperre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.