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:
- Message_Type
- Station_ID
- Valid_Time in YYYYMMDD_HHMMSS format
- Lat in degrees North
- Lon in degrees East
- Elevation in meters above sea level
- Grib_Code as the integer GRIB code value or variable name corresponding to this observation type
- Level as the pressure level in hPa or accumulation interval in hours
- Height in meters above sea level or above ground level
- QC_String corresponding to the quality control value
- 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:
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.