USGS-R / drb-estuary-salinity-ml

Creative Commons Zero v1.0 Universal
0 stars 4 forks source link

Update it analysis for met data #62

Closed galengorski closed 2 years ago

galengorski commented 2 years ago

This PR updated the it_analysis_data_prep.py function so that it could ingest gridMet data. The gridMet data is read in from the 02_munge/out/ directory.

The biggest changes were to the it_analysis_data_prep_config.yaml file where the additional sources were added with their preprocessing steps. The sources and sinks are string matched from their names in the config file to the column headers on the input data. The source/sink name in the config file (e.g., "tmax"), must be a substring of the column name (e.g., "tmax_lewes"). See lines 242-251 in it_analysis_data_prep.py.

I changed the file name from plot_heat_map.py to plot_heatmap.py and made the same change with the associated file name.

I also changed the preprocessing plot file names based on #52