You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crooked way of calling gwdps_run from cires_ugwp_run, i.e. from a different CCPP scheme, contains a bug that fortunately doesn't have any consequences.
In cires_ugwp_run, we are passing the entire qgrs array with dimension (im,km,ntrac) to gwpds_run. gwpds_run, however, only expects a 2D array for specific humidity of size (im,km). This works by chance, because specific humidity is stored in the first slice of qgrs, i.e. in qgrs(:,:,1).
Thanks to @mdtoy for finding and reporting the bug.
The text was updated successfully, but these errors were encountered:
The crooked way of calling
gwdps_run
fromcires_ugwp_run
, i.e. from a different CCPP scheme, contains a bug that fortunately doesn't have any consequences.In
cires_ugwp_run
, we are passing the entireqgrs
array with dimension(im,km,ntrac)
togwpds_run
.gwpds_run
, however, only expects a 2D array for specific humidity of size(im,km)
. This works by chance, because specific humidity is stored in the first slice ofqgrs
, i.e. inqgrs(:,:,1)
.Thanks to @mdtoy for finding and reporting the bug.
The text was updated successfully, but these errors were encountered: