Skip to content

Add notebooks for generating BGC forcing files#15

Draft
mnlevy1981 wants to merge 2 commits intoNCAR:mainfrom
mnlevy1981:add_bgc
Draft

Add notebooks for generating BGC forcing files#15
mnlevy1981 wants to merge 2 commits intoNCAR:mainfrom
mnlevy1981:add_bgc

Conversation

@mnlevy1981
Copy link
Copy Markdown

When running MOM6 with MARBL, there are two sets of input files needed on the ocean grid: river nutrient fluxes as well as iron fluxes from sediments and vents. This PR adds notebooks used to generate these files for tx2_3v3.

Notes:

  1. The river nutrient flux files require an input file that is on the CESM river runoff grid. I have not included the scripts for creating that file in this PR, but will open a new PR the next time we introduce a new runoff grid to make sure I get all the steps right
  2. I am opening this as a draft PR because it does not yet have the iron forcing file generation. Once those scripts are available, I will mark this as ready to review

Runs with BGC enabled require river nutrient fluxes on the ocean grid. The
notebook added in this commit maps river nutrients from a runoff grid to the
new ocean grid.

Note that adding a new runoff grid (e.g. ERA5) will require generating river
nutrients on that new grid before this script can map them to the ocean grid.
Scripts to create those files will be added in a future PR.
assign_coords() returns a new dataset, it does not augment in place... so I
wasn't actually adjusting the time dimension the way I thought. Also, I wasn't
capturing the attributes of the time coordinate, and I was writing out a
netCDF4 file instead of netCDF3-64bit
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