Giter VIP home page Giter VIP logo

gribspec2nc's Introduction

GribSpec2NC

Oyvind Breivik, Norwegian Meteorological Institute

PURPOSE

Decodes GRIB spectra stored as GRIB parameter 251. The results will be saved as a NetCDF file containing spectra in selected locations provided as input. The spectra are interpolated to these locations if possible.

USAGE

    gribspec2nc [-x] [-d timestep_hh][-i infile] [-l speclist.inp] [-o outfile] [-t itest] [-w weightfile]

    -x: compute integrated parameters
    -d timestep_hh: specify temporal resolution, default is 1 h
    -i infile: GRIB input, default is input_spectra
    -l speclist.inp: list of spectral locations to interpolate to,
                default is speclist.inp
    -o outfile: NetCDF output, default is output_spectra.nc
    -w weightfile: Use precomputed interpolation weights, default is no
    -s: issue a warning but generate NetCDF file even if there are missing GRIB fields (default is to issue error and abort)
    -t: debug reporting:
        itest: 0 (no diagnostics)
        itest: 1 (some diagnostics)
        itest: 2 (some more diagnostics)
        itest: 3 (all diagnostics)

INPUT FILE REQUIREMENT

The input file can only contain one parameter (251) obtained for all directions and frequencies in the default order. Namely, the mars request should be done with DIRECTION=1/TO/nang, and FREQUENCY=1/TO/nfre. At this time nfre=30 and nang=24 for global model and for mediterranean data.

gribspec2nc's People

Contributors

vkbo 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.