MET Online Tutorial

MET Online Tutorial for METv3.0

ASCII2NC Tool: General

ASCII2NC Functionality

The ASCII2NC tool is used to reformat ASCII point observations into the intermediate NetCDF format that Point-Stat accepts. ASCII2NC simply reformats the data and does not do any filtering of the observations like PB2NC does. In METv3.0, ASCII2NC supports only one input ASCII format which is described below. In future releases of MET, ASCII2NC may be enhanced to support additional commonly used ASCII point observation formats based on community input.

Point Observation Format

ASCII2NC expects the input point observations to contain one observation per line. Each input observation line should consist of the following 10 columns of data:

  1. Message_Type
  2. Station_ID
  3. Valid_Time in YYYYMMDD_HHMMSS format
  4. Lat in degrees North
  5. Lon in degrees East
  6. Elevation in meters above sea level
  7. Grib_Code corresponding to this observation type
  8. Level as the pressure level in hPa or accumulation interval in hours
  9. Height in meters above sea level or above ground level
  10. Observation_Value in the units prescribed for the grib code

In order to use ASCII2NC, it is the user's responsibility to get their ASCII point observations into this format.

ASCII2NC Usage

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

    bin/ascii2nc

At a minimum, the input ascii_file and the output netcdf_file must be passed in on the command line. When future ASCII point observation formats are supported, the -format command line option will allow you to specify them.