Skip to content

Add latent heat#2

Merged
amy-defnet merged 1 commit intomainfrom
add_latent_heat
Mar 25, 2025
Merged

Add latent heat#2
amy-defnet merged 1 commit intomainfrom
add_latent_heat

Conversation

@amy-defnet
Copy link
Copy Markdown
Collaborator

This PR add latent heat (AmeriFlux) as a comparison option. It compares directly against the ParFlow CLM output eflx_lh_tot.

@amy-defnet amy-defnet merged commit 0fe8e89 into main Mar 25, 2025
@amy-defnet amy-defnet deleted the add_latent_heat branch March 25, 2025 18:41
amy-defnet pushed a commit that referenced this pull request Mar 18, 2026
* added the nwm snow comparison notebook

* added documentation for snow metrics

* uploadedc the correct documentation files

* removed the wrong document

* added snow.utils module to the evaluation framework. This contains two functions: computing water year, and performing a same-day swe comparison.

* added different day comparison function to snow utils

* formatting

* added snow melt functions to the snow utils module. Split the snow example notebook into a data collection notebook and a single site comparison notebook

* cleaned single site snow comparison notebook by removing unused imports and code

* completed setting up virtual environment on Verde with micromamba, added steps in getting_started.md

* created a new 01 snow notebook for HydroData data retrieval

* changes to package versions for importing packages and snow __init__ for circular import in notebook 02

* added html/css styling in nwm_utils plot_sites_within_domain function for popup formatting

* changed text box formatting, clarified language around 'model outputs'

* remove notebook output

* formatting for comparison_plots() function in nwm_utils.py

* added timeseries/scatter plot figure description text

* Reorganized and added sections for notebook 02; Plotting and description changes for notebook 02 sections 4-5

* cleaned up section 5 of 02 notebook (pre stats section 6 work)

* 02 snow notebook outline for stats section, added multi-site stats summary and plots, condon diagrams

* changed 'relative' bias and 'mean' bias descriptors, fixed the accumulation/ablation compute_stats

* Created a third notebook for the last part of snow comparison (across a watershed)

* add .DS_store and .ipynb_checkpoints to gitignore

* create 01_data_collection_HydroData.ipynb notebook file

* Added getting shapefile from WBD HUC dataset; added Pandas functionality to plot_sites_within_domain() function

* added geojson file to domain_data for CCSS stations. Still have problems using getCCSSData() on Verde

* Added geojson CCSS file for use on Verde. Confirmed that notebook 02 works on Verde up to the 'Summary Metrics at Multiple Sites' section

* wrote loop for accessing CONUS1 SWE with the get_gridded_data function & first plotting

* nearly final Hydrodata notebook; finalized section outline; added hydrodata_utils; removed most of the Cali files

* Final 01 HydroData SWE Notebook cleanup, update mapping function in nwm_utils, readded domain shapefiles

* removed old commented-out mapping function

* deleted old 01 Hydrodata notebook

* Revert "Cam 965 test snow notebooks and revise snow 02 notebook"

* replaced the DonPedroDam shapefiles that were accidentally removed

* renamed 02 snow notebook

* PF evaluation for snow 02 notebook complete, EXCEPT for stats section

* changed some NWM wording in a markdown box

* create new 03 snow notebook for ParFlow/Hydrodata

* added specific model and output folders for PF outputs

* added coordinate grab for PF-CONUS grid cells to 01, 03 modifications

* nearly complete ParFlow snow notebook 03; some modifications for NWM snow notebook 03; some package and function updates

* added nwm example

* added evaluation to nwm notebook

* moved files to new directories

* Created new folders for reorganizing files

* Added all necessary python files, init files; Added a General README

* added header descriptions in empty files

* Migrated most functions to their appropriate files for reorg. Not including model specific and some observational functions.

* Checked package imports for all new files, except model specific ones

* created 'collect_observations' directory in /examples and moved the original 01_data_collection.ipynb notebooks. Renamed these for PF/HydroData and NWM

* edited files for missing imports requirements

* Modify dataCollectionHydrodata_parflow.ipynb for module reorg. Can confirm notebook works.

* Modify dataCollection_nwm.ipynb for module reorg. Can confirm notebook works.

* final changes before PR

* Moved the root-level readme file to the docs folder for now. Some of the content is specific to Parflow. We can re-use the content of this file later when the reorganization of the github repository is finalized.

* Minor updates to the readme file.

* Add a readme to describe both the workflow and the entire repository

* Add an initial workflow chart for the hackathon activities

* Update the environment setup flow to include a one-time setup step that supports both the core library configuration for the evaluation workflow/package and the runtime dependencies.

* updated instruction to install deps

* tested running notebooks with the new env set-up, data collection works fine. NWM and Parflow notebooks (#2) should be updated. They still point to cssi_evaluation.snow which no longer exists in our reorg branch

* removed backup files b/c the updated env set-up workflow works fine

* revised deps based on Amy's feedback

---------

Co-authored-by: Anthony Castronova <castronova.anthony@gmail.com>
Co-authored-by: danielletijerina <dtt2@princeton.edu>
Co-authored-by: Danielle Tijerina-Kreuzer <danielletk@Danielles-CUAHSI-MacBook.local>
Co-authored-by: danielletijerina <dtijerina@cuahsi.org>
Co-authored-by: Irene Garousi-Nejad <igarousi@Irene-CUAHSI.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant