Skip to content
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

Bio opts #73

Merged
merged 25 commits into from
Jun 12, 2023
Merged

Bio opts #73

merged 25 commits into from
Jun 12, 2023

Conversation

drnimbusrain
Copy link
Member

@drnimbusrain drnimbusrain commented May 31, 2023

Would like to merge updated biogenic options and diagnostics for testing and comparison against MEGAN. These inlude:

  • Options for including crop vegetation type and heights
  • Options for including other shrubs, savanna, and grassland (SSG) vegetation type and heights
  • Options for different vertical weighting and summing of biogenic emissions through canopy (against MEGAN)
  • Option for including CO2 inhibition factor for isoprene only emisisons

@drnimbusrain drnimbusrain requested a review from zmoon May 31, 2023 20:16
@drnimbusrain drnimbusrain self-assigned this May 31, 2023
@drnimbusrain drnimbusrain added the enhancement New feature or request label May 31, 2023
Copy link
Member

@zmoon zmoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added a few initial comments. I want to do a bit of testing of the new opts.

README.md Outdated Show resolved Hide resolved
src/canopy_bioemi_mod.F90 Show resolved Hide resolved
src/canopy_utils_mod.F90 Outdated Show resolved Hide resolved
src/canopy_bioemi_mod.F90 Outdated Show resolved Hide resolved
@drnimbusrain
Copy link
Member Author

@zmoon Where we at with this?

@drnimbusrain drnimbusrain requested a review from zmoon June 6, 2023 19:57
@zmoon
Copy link
Member

zmoon commented Jun 6, 2023

I want to add brief example to the examples nb.

README.md Outdated
@@ -197,6 +197,13 @@ https://nacc-in-the-cloud.s3.amazonaws.com/inputs/geo-files/gfs.canopy.t12z.2022
| `lu_opt` | integer for input model land use type (`0`: VIIRS 17 Cat (default) or `1`: MODIS-IGBP 20 Cat (valid LU types 1-10 and 12); input mapped to Massman et al.) |
| `z0_opt` | integer (`0`: use model input or `1`: vegtype dependent z0 for first estimate) |
| `bio_cce` | user-set real value of MEGAN biogenic emissions "canopy environment coefficient" used to tune emissions to model inputs/calculations (default: `0.21`, based on Silva et al. 2020) |
| `bio_vert` | user set biogenic vertical summing option (`0`: no sum, full leaf-level biogenic emissions, units=kg/m3/s; `1`: MEGANv3-like summing of LAD weighted activity coefficients using the canopy-app plant distributions, caution-- units=kg m-2 s-1 and puts the total emissions in the topmost canopy-app model layer only; `2`: Same as in option 1, but instead uses Gaussian/normally weighted activity coefficients acoss all sub-canopy layers -- also units of kg m-2 s-1 in topmost model layer; `3`: Same as in option 1, but instead uses evenly weighted activity coefficients acoss all sub-canopy layers -- also units of kg m-2 s-1 in topmost model layer |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be bio_vert_opt instead? Seems like the integer option params usually end in _opt.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, do you want to change it, or me?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You, if you don't mind!

@drnimbusrain
Copy link
Member Author

drnimbusrain commented Jun 9, 2023 via email

@drnimbusrain
Copy link
Member Author

@zmoon OK, I changed bio_vert to biovert_opt to conform.

@drnimbusrain drnimbusrain requested a review from zmoon June 9, 2023 18:32
python/examples.ipynb Outdated Show resolved Hide resolved
Co-authored-by: Zachary Moon <[email protected]>
@drnimbusrain drnimbusrain requested a review from zmoon June 11, 2023 21:23
@drnimbusrain
Copy link
Member Author

@zmoon Are we ready to merge?

@drnimbusrain drnimbusrain merged commit 1a5dabc into develop Jun 12, 2023
4 checks passed
@drnimbusrain drnimbusrain deleted the bio_opts branch June 12, 2023 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Options for Improved Biogenic Emissions Calculations/Diagnostics
2 participants