Skip to main content

Download WaterML Time Series

Description

Usage

Parameters

Parameter NameTypeDirectionData TypeDialog Reference
Input Data Cart FCRequiredInputFeature LayerFeature class with feature for which to download time series. Input feature class must have the "data cart" fields properly populated. Feature class must have at least these fields:
  • HydroID - unique gage internal identifier
  • HydroCode - unique gage external identifier
  • VarCode - unique time series variable identifier
  • StartTime - date of the first time series data to be downloaded (format MM/DD/YYYY)
  • EndTime - date of the last time series data to be downloaded (format MM/DD/YYYY)
  • ServiceURI - URI of the WaterML2 or WaterML 1.1 service
  • VarID - HydroID of the time series variable from VariableDefinition table
  • IsDone - download indicator (0 - download not done; 1 - download done)
  • Function will set IsDone to 1 for those records that are successfully processed. Only records with IsDone = 0 will be processed.
    Output Time Series TableRequiredOutputStringTime series table (with standard Arc Hydro data structure). FeatureID relates to the HydroID in the input feature. TSValue contains the time series values downloaded from the WaterML2 service. VarID is variable definition from the input feature, while TSDate contains date and time of the measurement. TSOffset is not required for this function.
    Show InfoRequiredInputStringParameter specifying level of information provided during the download of time series data:
  • None - no information about individual stations being downloaded is reported.
  • Info - reports for each station: station identifier, WaterML2 call, number of records saved, and time it took to download and save the data for that station.
  • Info2 - same as the "Info" option but it also stores the returning WaterML2 file. The file will be stored in the same directory where the function's python script is. This option can generate large output files and doubles the time to process each station, so use this option sparingly.