-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ajk/cfe icefraction #49
Conversation
Note PR48 - Configuration file and parameter read-in changes was just merged. All config files now include [units]. e.g. see cat_87_bmi_config_cfe.txt. @ajkhattak When fetching upstream, can you please account for this change as well as adding any appropriate [units] to new params in both |
… bm_cfe print header line.
…scheme when ice fraction is used are moved to config file.
425c6b6
to
c173109
Compare
…tent_threshold parameter unit.
Suggest removing last Best to maintain all files in |
I suggest updating the documentation. It may be as simple as noting the option for including SFT (e.g. how to include or disable SFT). But other parameters within CFE, functionality changes, etc. should also be included somewhere in the documentation. |
@madMatchstick I removed the three lines from cat_87 files. All other config files should work without any modifications. If CFE is not coupled to SFT, no additional parameters in the config files are needed. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Noted, adding these changes to the cfe doc list! Thank you. |
documenting changes to cfe config files when coupled SFT model.
…k within the ngen framework, also removed variables from the output list.
@ajkhattak, I propose we change the merge branch for this PR from Additionally, the master branch of CFE is essentially a stable version we can use for testing formulations. When building ngen, users can fetch this stable version through a simple one-liner ( If you're okay with this, I will modify the PR accordingly. (Suggestions welcome from others!) |
I've changed the proposed merge branch to cfe_soilfreezethaw. We can work on cleaning up and merging this PR and then continue development (e.g., BMI modifications) in the new branch. |
…scheme when ice fraction is used are moved to config file.
…k within the ngen framework, also removed variables from the output list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SnowHydrology - just confirming that we are NOT requiring this version to run in ngen
, correct? (Hence the move to non-master, dev, branch.)
@madMatchstick, that is correct. Please merge if it passes your review. |
@SnowHydrology yes, Jess is correct. this branch won't run within the ngen framework due to coupling-related changes to bmi. |
Sorry for the last confusing comment from me. I misread it. Anyway, I am going to merge this PR into cfe_soilfreezethaw |
* changes to include ice fraction to the cfe runoff schemes. * modified config file to add xinan urban fraction and minor changes to bm_cfe print header line. * changes suggested in the PR#49, hard-coded parameters in the schaake scheme when ice fraction is used are moved to config file. * added runoff ice_fraction parameters to cfe state variables. * added units to the config files, minor changes bmi related to ice_content_threshold parameter unit. * a minor change, moved cv_frz inside if condition. * cleanup, config files and cfe.c * Update README.md documenting changes to cfe config files when coupled SFT model. * Update README.md * Update README.md * typo in SFT section * Update README.md * removed ice_fraction variables from the bmi input list to make it work within the ngen framework, also removed variables from the output list. * Reverting to 180c56f to use it in the pseudo framework. * Adding ET to output * adding gw and soil storage to output * changes to include ice fraction to the cfe runoff schemes. * changes suggested in the PR#49, hard-coded parameters in the schaake scheme when ice fraction is used are moved to config file. * removed ice_fraction variables from the bmi input list to make it work within the ngen framework, also removed variables from the output list. * Reverting to 180c56f to use it in the pseudo framework. * name change: ice_fraction to sft_coupled. * cleanup/renaming output variables. * remove refs to `ngen` in README Co-authored-by: JessicaGarrett-NOAA <30940444+madMatchstick@users.noreply.github.com> Co-authored-by: lcunha0118 <luciana.k.cunha@gmail.com> Co-authored-by: Keith Jennings <keithjennings@keiths-mbp.lan>
* ajk/cfe icefraction (#49) * changes to include ice fraction to the cfe runoff schemes. * modified config file to add xinan urban fraction and minor changes to bm_cfe print header line. * changes suggested in the PR#49, hard-coded parameters in the schaake scheme when ice fraction is used are moved to config file. * added runoff ice_fraction parameters to cfe state variables. * added units to the config files, minor changes bmi related to ice_content_threshold parameter unit. * a minor change, moved cv_frz inside if condition. * cleanup, config files and cfe.c * Update README.md documenting changes to cfe config files when coupled SFT model. * Update README.md * Update README.md * typo in SFT section * Update README.md * removed ice_fraction variables from the bmi input list to make it work within the ngen framework, also removed variables from the output list. * Reverting to 180c56f to use it in the pseudo framework. * Adding ET to output * adding gw and soil storage to output * changes to include ice fraction to the cfe runoff schemes. * changes suggested in the PR#49, hard-coded parameters in the schaake scheme when ice fraction is used are moved to config file. * removed ice_fraction variables from the bmi input list to make it work within the ngen framework, also removed variables from the output list. * Reverting to 180c56f to use it in the pseudo framework. * name change: ice_fraction to sft_coupled. * cleanup/renaming output variables. * remove refs to `ngen` in README Co-authored-by: JessicaGarrett-NOAA <30940444+madMatchstick@users.noreply.github.com> Co-authored-by: lcunha0118 <luciana.k.cunha@gmail.com> Co-authored-by: Keith Jennings <keithjennings@keiths-mbp.lan> * changed bmi input variable ice_fraction name. * bug fix, smc_ref is dimensionless so dividing by the soil reservoir depth. * separated giuh module from cfe to have its own source/header files, so it can be reused and extented, if needed, independently. * root zone adjusted AET * updates to match smc code changes * Update laramie_bmi_config_smc_coupler.txt * Rename src/main.c to src/old_driver_scripts/main.c * Rename src/main_cfe_aorc_pet.c to src/old_driver_scripts/main_cfe_aorc_pet.c * Rename src/main_pass_forcings.c to src/old_driver_scripts/main_pass_forcings.c * Delete env_cheyenne.sh * Delete make_and_run_bmi.sh * Delete make_and_run_bmi_pass_forcings.sh * Delete make_and_run_bmi_pass_forcings_pet.sh * Update CMakeLists.txt * Update README.md * Update README.md * minor changes, updated files due to changes in the SMP. * removed sft_coupled=on, not needed * updated CMakeLists and config files, the merge/changes reproduce cfe standalone results with basecase, aorc forcings only, aorc forcings + pet, and aorc + forcing + pet + aet root zone. * added bash script to run cfe with different options. documenation needs to be updated. * set default smc profile to 1x1 array, needed for cfe to run in the ngen framework as soil_moisture_profile is a bmi input. * bug fix, assigns 0 to n_soil_layers when rootzone AET is turned off. * added the right file for AET rootzone example. * bug fix, set default aet_root_zone to FALSE. * Update README.md individual "make and run" files have been replace with a single file. For all examples, cmake is needed to build the code. * Update README.md * Update README.md * Update README.md * minor text edit. * Added option to turn on/off AET rootzone and other related changes. * few fixes that were introduced during rebasing. * Update README.md * Update README.md * modified run_cfe to catch/output invalid option. * Update README.md * Update README.md * added an explicit flag to check if SFT is ON or OFF inside the runoff schemes, if OFF ice_fraction parameters is set to 0.0. Updated readme file. * Update README.md * Update README.md * minor changes in response to PR comments. * Update README.md Co-authored-by: JessicaGarrett-NOAA <30940444+madMatchstick@users.noreply.github.com> Co-authored-by: lcunha0118 <luciana.k.cunha@gmail.com> Co-authored-by: Keith Jennings <keithjennings@keiths-mbp.lan> Co-authored-by: Rachel McDaniel <rachel.mcdaniel@outlook.com> Co-authored-by: Rachel McDaniel <61248457+rlmcdaniel@users.noreply.github.com>
Additions
Changes
Testing
Screenshots
Checklist