Add script for merging historical and ssp245 co2 forcing #223
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.
This adds a script which combines the historical (1915--2014) and ssp245 (2015--2064) atmospheric co2 forcing together into one file and writes the result in a way that can be read by FMS. This script is a modernized version of the original that generated the file we've been using for a while.
The result of this script currently lives on Gaea at /gpfs/f6/ira-cefi/proj-shared/global/co2/mole_fraction_of_co2_extended_ssp245_v2.nc. Ideally it should go to the same location in world-shared, which is writable by @yichengt900 . If the file can be copied there I will send a PR to update the XMLs too.
The co2 forcing file generated by this script will likely slightly change BGC answers starting in 2015 due to using the finely-interpolated version of the file for the scenario. This file may not have been available when I first made this forcing data. An answer change before 2014 is possible due to slight changes in the time and time_bnds.