Added CMEM as a model package - #4051
Open
HolmquistJ wants to merge 16 commits into
Open
Conversation
Peprmt met
…he pecan workflow.
… for US from other workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This represents the first pull request integrating this model into PECAN. I have written several functions. R-version of the Cohort Marh Equilibrium Model (RCMEM) simulates plant ecology, elevation, and soil column evolution as a dynamic response to inundation. I have left met2model blank, given that there is currently no meteorological data inputs to MEM, just water level and tidal information. A model2netcdf function converts three data table outputs to netcdfs with time, latitude, longitude, depth, as species identifier as dimensions. A write.configs function currently receives parameters, initial condition, and driver files stored as model-specific Rds files and generates a model run. All functions currently work on a demo dataset and internal tests. Future steps will build out a demo workflow and generalize the model implementation to more readily accept new cite drivers and species parameters.
Motivation and Context
These changes were made due to requests from users to integrate models predicting tidal ecosystem state change due with sea-level rise and land use scenarios. Uncertainty in forecasts is important to restoration planning and carbon accounting.
Review Time Estimate
Types of changes
Checklist: