-
Notifications
You must be signed in to change notification settings - Fork 0
Implement 1x1 nonlocal GW model into CAM #28
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
Conversation
| lat, &! latitude (radians) | ||
| lon, &! longitude (radians) | ||
| ps, &! surface pressure | ||
| phis ! surface geopotential | ||
| real(r8), dimension(:,:), allocatable :: & | ||
| u, &! zonal wind (m/s) | ||
| v, &! meridional wind (m/s) | ||
| omega, &! vertical pressure velocity (Pa/s) | ||
| t, &! temperature (K) | ||
| theta, &! potential temperature (K) | ||
| pmid ! midpoint pressure (Pa) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amangupta2 can you double check the units of the inputs/outputs vs training data and expected model output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for my late response on this, but all the units seem consistent.
|
I have scripted the model but have been unable to run CAM successfully, so perhaps I can merge this PR tomorrow morning after our discussion? |
fixes DataWaveProject/nonlocal_gwfluxes#48
fixes DataWaveProject/nonlocal_gwfluxes#51
fixes DataWaveProject/nonlocal_gwfluxes#52
Add 1x1 CNN non-local gravity wave model into CAM
This is an initial implementation of coupling the nonlocal gw models into CAM.
README.mdgw_nlgw_model_pathnamelist varuse_gw_nlgw=.true.in the namelistakandbkcoefficients are also hardcoded to interpolate between the ERA5 pressure grid and the CAM pressure gridNote
If you follow the instructions in the
README.mdbefore this is merged you need to checkout branchnonlocal-gwsinstead ofdatawave_mlTODO
Merge Dependencies First