NOAA-OWP / t-route

Tree based hydrologic and hydraulic routing
Other
44 stars 50 forks source link

require any hyphenation to be included in the parquet prefix #842

Open jameshalgren opened 2 months ago

jameshalgren commented 2 months ago

In the t-route configuration file, to meet the requirements for input to the TEEHR evaluation system, the ids need to be tagged according to their hydrofabric element type. The prefix_ids element allows for this to be set.

This PR allows the prefix to be completely arbitrary, removing the hard-coded hyphen '-'.

The suggested output change to be added to the end of the yaml file after the stream_output section is now:

  parquet_output:
    parquet_output_folder: outputs/troute/
    configuration: short_range
    prefix_ids: wb-

ping @mgdenno @karnesh

jameshalgren commented 2 months ago

Note: The output folder in the example .yaml input is configured as found in the standard file path for NextGen-based t-route simulations generated with the NGIAB_Data_process application and simulation with the NGIAB_CloudInfra package. https://github.com/CIROH-UA/NGIAB_data_preprocess and https://github.com/CIROH-UA/NGIAB-CloudInfra, respectively.