Conversation
1c141ef to
c306ef6
Compare
|
From running AMIP (diagedmf + 0M + bucket for 1 year and 1 month, I plotted pressure slices at 850 hPa, 500 hPa, and 250 hPa of time-averaged |
c306ef6 to
8040ad3
Compare
| - short_name: [pfull, wa, va, rv, hus, ke] | ||
| period: 1days | ||
| reduction_time: average | ||
| pressure_coordinates: true | ||
| compute_every: 1hours |
There was a problem hiding this comment.
I don't know if this is a good simulation for writing diagnostics in pressure coordinates.
|
what's the default pressure coordinate fo the diagnostics? |
The default coordinates are the same as the one used for ERA5. |
|
And how does extrapolation work right now? e.g. for columns where the surface is lower than 1000 hPa. |
The default is flat extrapolation, but I think linear extrapolation can also be used. |
8040ad3 to
109cad6
Compare
docs/src/diagnostics.md
Outdated
| #### Writing in pressure coordinates | ||
|
|
||
| !!! compat "Compatibility" | ||
| This is only available in versions after than ClimaAtmos v0.34.0. |
There was a problem hiding this comment.
| This is only available in versions after than ClimaAtmos v0.34.0. | |
| This is only available in versions after ClimaAtmos v0.35.0. |
and maybe we can note it requires specific ClimaCore, ClimaDiagnostics, etc
There was a problem hiding this comment.
I think it is fine to not include it for ClimaCore and ClimaDiagnostics, since I am going to bump the versions in the Project.toml for those packages anyway.
8356080 to
d54e6e1
Compare
d54e6e1 to
890afe3
Compare

This PR adds diagnostics in pressure coordinates. This PR requires merging CliMA/ClimaCore.jl#2422, CliMA/ClimaDiagnostics.jl#155, and CliMA/ClimaAnalysis.jl#362 and making releases for each of the packages.
An example of a name of a NetCDF file of a variable in pressure coordinates is
hus_1d_inst_pressure.nc. By default, the pressure interpolation uses constant boundary conditions and the pressure levels are the same as those from ERA5 (see here).Here is the output of
ncdumpon a NetCDF file of a variable in pressure coordinates:ncdump result
TODO
ta,hur,hus,ua, andpfull