运行ASCII2NC ========================== 1. 将txt格式的站点资料转化为NetCDF格式 数据必须转化为要求的格式: 1. 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 (new format) #. Observation_Value in the units prescribed for the grib code 例如:降水观测 (老的格式,缺质控栏) .. literalinclude:: examples/rnwst.ascii.2019052700_acc24 :linenos: 例如:能见度观测 .. literalinclude:: examples/2020050200.vis :linenos: #. 运行ASCII2NC .. code-block:: bash :linenos: :emphasize-lines: 13-15 $ ~/METplus-3.0.1/build_components/bin/ascii2nc 2020050200.vis 2020050200.vis.nc DEBUG 1: Config File: /home/wrf/METplus-3.0.2/build_components/share/met/config/Ascii2NcConfig_default DEBUG 2: Rejected 0 observations off the masking grid. DEBUG 2: Rejected 0 observations outside the masking polyline. DEBUG 2: Rejected 0 observations not matched with station ID's. DEBUG 2: Processing observations for 2293 headers. DEBUG 1: Creating NetCDF Observation file: 2020050200.vis.nc DEBUG 2: Finished processing 2293 observations for 2293 headers. $ ~/METplus-3.0.1/build_components/bin/ascii2nc rnwst.ascii.2019052700_acc24 rnwst.ascii.2019052700_acc24.nc DEBUG 1: Config File: /home/wrf/METplus-3.0.2/build_components/share/met/config/Ascii2NcConfig_default WARNING: WARNING: Found deprecated 10 column input file format, consider adding quality flag values to file: rnwst.ascii.2019052700_acc24 WARNING: DEBUG 2: Rejected 0 observations off the masking grid. DEBUG 2: Rejected 0 observations outside the masking polyline. DEBUG 2: Rejected 0 observations not matched with station ID's. DEBUG 2: Processing observations for 11287 headers. DEBUG 1: Creating NetCDF Observation file: rnwst.ascii.2019052700_acc24.nc DEBUG 2: Finished processing 11287 observations for 11287 headers.