Release 1.3.0
Issue to release 1.3: #116
Major changes
Major changes 1, 2 and 4 below lead to small changes in output values of QGField
compared to the previous release. Users may compare the plots on example jupyter notebooks over different releases to gauge the magnitude of difference.
- User can put in already interpolated (on evenly-spaced vertical grid) fields from hybrid coordinate interpolation by setting
data_on_evenly_spaced_pseudoheight_grid=True
to avoid interpolating twice - vertical interpolation is delegated toscipy
instead of fortran modules. The old interpolation f2py modules is renamedcompute_qgpv
(as this is its sole duty now). (See #94 for the discussion.) - Compute Static Stability in original vertical coordinates (before vertical interpolation) with
UnivariateSpline
and itsderivative
to reduce the numerical error, leading to a smoother field - The behavior of
QGField.compute_reference_state
is modified such that even whenUref
cannot be computed, users won't get an error and can still accessQref
computed. A boolean parameterQGField.nonconvergent_uref
is added to indicate whetherUref
is properly computed. IfFalse
,compute_lwa_and_barotropic_fluxes
cannot be called. - Added
QGField.compute_lwa_only
to provide users with a choice of computing solely LWA fromQref
. That way, even ifUref
cannot be solved for purely numerical reason, LWA can still be calculated fromQref
. This method is available inQGDataset
too.
Additional utilities
- Added "Plot Utilities" (for plots presented in POD contribution to MDTF), "Statistics Utilities" (to compute covariance between
<LWA>
and<U>
) and "netCDF Utilities" - Added "Preprocessing" module which include gridfill function used in MDTF with documentation
- Included
developers/run_through_notebooks.sh
to run through notebooks for each release
Minor fixes
- Fixed the build test in Git Workflow
- Fixed Sphinx build on ReadTheDoc
- Fixed misformed link in documentation