GithubHelp home page GithubHelp logo

isabella232 / volcano-ash3d-metreader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doi-usgs/volcano-ash3d-metreader

0.0 0.0 0.0 5.42 MB

License: Other

Shell 7.34% Fortran 91.65% Makefile 1.01%

volcano-ash3d-metreader's Introduction

MetReader

MetReader is a library written in fortran 90 that provides an interface to numerical weather prediction (NWP) data, or other forms of meteorological data, such as radiosonde or other 1-d data.

This library was originally written as a component of the USGS volcanic ash transport and dispersion model, Ash3d. However, since it is useful for other programs other than Ash3d, this interface to NWP files is provided as a separate repository that can either be compiled as a library or simply compiled directly with other source code.

NWP data are generally made available by agencies (NCEP, NOAA, NASA, etc.) in a variety of formats (NetCDF, GRIB, ASCII); each product having its own data structure, naming convention, units, etc. This library isolates the calling program from the peculiarities of interfacing with a particular NWP product. Data can be returned to the calling program on the native grid of the NWP product, or on any grid needed by the calling program. Projection and interpolation of NWP data to the required grid, along with any rotation of velocity vectors to grid-relative, is calculated internally by MetReader.

For details on usage, please see the User's Guide and look through the example programs.

This library requires two additional libraries made available on GitHub and USGS GitLab:

Additionally, the default makefile will build MetReader with both NetCDF and GRIB2 enabled. If either of these libraries are unavailable on your system, you can deactivate those options by setting the corresponding flags to 'F' in the makefile.

To compile as a library, simple type:

make all

This will build the requested components of the library. If GRIB2 is enabled, it is recommended to also build the GRIB2 indexer:

make gen_GRIB2_index

This is a tool that generates an index file of the GRIB records which speeds access time to individual records substantially.

To install the library, module files and tools, edit the INSTALLDIR variable of the makefile (the default is /opt/USGS) and type:

make install

This will also install scripts that can be used to download the 0.5 degree GFS forecast files and the NCEP 2.5-degree Reannalysis files.

You will need to have write permission in ${INSTALLDIR} or install as root.

Authors

Hans F. Schwaiger [email protected]
Larry G. Mastin [email protected]
Roger P. Denlinger [email protected]

volcano-ash3d-metreader's People

Contributors

hschwaiger-usgs avatar donnaaboise avatar lgmastin 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.