MET Online Tutorial for METv8.0 | Point Processing Tool > ASCII2NC

ASCII2NC Functionality

The ASCII2NC tool is used to reformat ASCII point observations into the intermediate NetCDF format that Point-Stat and Ensemble-Stat accept. In METv8.0, ASCII2NC supports five types of input formats: SURFRAD and Integrated Surface Irradiance Study (ISIS), little_r, wwsis, AERONET, and an 11-column MET point format. Only the MET point format will be discussed in this tutorial for which no configuration file is required. However, the ASCII2NC configuration file found in met-8.0/share/met/config/Ascii2NcConfig_default may be used to define how SURFRAD observations should be summarized through time and a mapping of little_r input strings to output message types.

Point Observation Format

The input ASCII MET point observation format contains one observation per line. Each input observation line should consist of the following 11 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 as the integer GRIB code value or variable name 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. QC_String corresponding to the quality control value
  11. 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:

ascii2nc

At a minimum, the input ascii_file and the output netcdf_file must be passed in on the command line. ASCII2NC inspects the input data to determine its format or the user may explicitly specify it using the -format command line option.