MADIS2NC

MADIS2NC cindyhg Thu, 04/25/2019 - 10:08

MADIS2NC Functionality

The MADIS2NC tool is used to reformat Meteorological Assimilation Data Ingest System (MADIS) point observations into the NetCDF format expected by the Point-Stat tool. More information about MADIS data and formatting is available at NOAA's MADIS page. Since the MADIS2NC tool simply performs a reformatting step, no configuration file is needed.

MADIS2NC Usage

View the usage statement for MADIS2NC by simply typing the following:

madis2nc

At a minimum, the input madis_file and the output out_file, and the type string (-type str) must be passed in on the command line.

Run

Run cindyhg Thu, 04/25/2019 - 10:08

Since MADIS2NC simply performs a reformatting step, no configuration file is needed.

Run MADIS2NC on the command line using the following command:

madis2nc \
$MET_TUTORIAL_DATA/input/sample_obs/madis/metar/metar_2012040912_F000.nc \
$MET_TUTORIAL_DATA/output/madis2nc/metar_2012040912_F000.nc \
-type metar -rec_beg 2000 -rec_end 6000 -v 2

MADIS2NC is now reformatting the metar observations, processing only record numbers 2000 through 6000. MADIS2NC should perform this refomatting step fairly quickly.

Output

Output cindyhg Thu, 04/25/2019 - 10:09

When MADIS2NC is finished, you may view the output NetCDF file it wrote using the ncdump utility (if available on your machine). Run the following command to view the header of the NetCDF output file:

ncdump -h $MET_TUTORIAL_DATA/output/madis2nc/metar_2012040912_F000.nc

Next, we'll use the NetCDF output of PB2NC to perform Grid-to-Point verification with the Point-Stat tool.