-
Notifications
You must be signed in to change notification settings - Fork 0
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
Convert variables from moist to dry #15
Comments
@judithberner Can you confirm for us what 'choice' with regards to moist or dry is made for our test cases and any likely uses in the future? Can you also point us to where this is defined in the run setup so that we can be clear in the documentation how this should be run? |
@paogorman says to go ahead and implement this. Check the PBUF definitions to see what we have. |
This has been closed after testing and rebasing to the CAM-ML branch |
@paogorman comments:
My understanding is that CAM moisture variables for physics parameterizations are ‘moist mixing ratios’ or ‘specific humidities’ rather than dry mixing ratios. In other words they are per unit mass dry air + wv. (It seems like the mass of cloud is not included in the denominator). This is apparently chosen when variables are set up for a particular run, so it would be good to confirm that is what we are using in our CAM runs.
I previously thought this didn’t matter much because SAM is anelastic, but SAM does assume a form for the saturation q which is consistent with q in SAM being a dry mixing ratio. So we will be biased if we don’t convert.
Here is code to add to nn_interface_CAM:
From CAM to SAM:
And from SAM to CAM:
The text was updated successfully, but these errors were encountered: