add i_water to netcdf output and input #192
Merged
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.
For simulations being post-processed that were run with CAMP, the index of aerosol water isn't successfully found. This breaks some aspects of the post-processing pipeline (such as drying a particle population or computing critical relative humidities) and (most likely) the cloud parcel model. The issue is that
aero_data_input_netcdf
reads in all aerosol species names and information butaero_data_set_water_index()
won't find water with its current requirements of the string needing an exact match to "H2O" where water in CAMP usually is referred to as something likeaqeuous.H2O_aq
. PartMC with CAMP enabled relies on the water species having a special entry in the json files of "PartMC name", which then tags the value ofaero_data%i_water
.Straight forward solution is to output the value of
aero_data%i_water
and then also read it in instead searching the names array list.