Skip to main content

Download nomads data from NOAA and convert the grib file to JSON

Project description

JsoNomads

It is a module to download and convert NOMADS data from NOAA to JSON. Also provides a command line tool.

Installation

pip3 install jsonomads

or if you install it from source:

pip3 install .

Usage

usage: jsonomads [-h] [-i [GRIBFILE]] [-o [JSONFILE]] [-k] [-t [DATATYPE]] [-p] [-r [N]] [-I [N]] [--leftlon [N]] [--rightlon [N]] [--toplat [N]] [--bottomlat [N]] [--res [RESOLUTION]] [--tol [LEVELTYPE]] [--level [N]] [--nou] [--nov]

Download NOMADS data from NOAA and convert the grib file to JSON

optional arguments: -h, --help show this help message and exit -i [GRIBFILE], --input [GRIBFILE] Input GRIB file. Download fresh file from NOAA if not specified. -o [JSONFILE], --output [JSONFILE] Output JSON file -k, --keep Keep grib file -t [DATATYPE], --type [DATATYPE] Data type. (Default: wind)

JSON parameters: -p, --print Just print json data to stdout -r [N], --round [N] Round to N decimals -I [N], --indent [N] Indentation

Wind parameters: Optional wind parameters

--leftlon [N] Left longitude. (Default: 0) --rightlon [N] Right longitude. (Default: 360) --toplat [N] Top latitude. (Default: 90) --bottomlat [N] Bottom latitude. (Default: -90) --res [RESOLUTION] Resolution. (Default: 1p00) --tol [LEVELTYPE] Type of level. (Default: heightAboveGround) --level [N] Level. (Default: 10) --nou No U-component --nov No V-component

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

JsoNomads-1.0.3.tar.gz (18.1 kB view details)

Uploaded Source

File details

Details for the file JsoNomads-1.0.3.tar.gz.

File metadata

  • Download URL: JsoNomads-1.0.3.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.55.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for JsoNomads-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b0ccf288cd9c08d135de621fb0796ea70f8255feed87c55052c0b6a372826ef3
MD5 cacb7f836bbfeff2137d47024c87f48a
BLAKE2b-256 0cb936393b04fb45a41079669435b6077a2de97af35bb5aef98ffedef47dbe44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page