TSTool / Command / WriteNwsCard
WriteNwsCard command writes one time series to the specified NWS Card format file.
See the NWSCard Input Type Appendix for more information about the file format.
Only daily or hourly time series can be written. Daily time series will be converted to 24Hour time series.
WriteNwsCard Command Editor (see also the full-size image)
The command syntax is as follows:
||The NWS Card output file to write. The path to the file can be absolute or relative to the working directory (command file location).||None – must be specified.|
||The start of the output period, specified to daily or hourly precision to match the time series.||Write all data.|
||The end of the output period, specified to daily or hourly precision to match the time series.||Write all data.|
||Indicate the time series to write, one of:
See the automated tests.
A sample command file to write data from the State of Colorado’s HydroBase is as follows:
# 0130 - ALAMOSA SAN LUIS VALLEY RGNL 0130.NOAA.Precip.Day~HydroBase WriteNWSCard(OutputFile="Alamosa.NOAA.PTPX.24Hour",TSList=AllTS)