Vgrid/known bugs

From Wiki
Jump to: navigation, search


The known bugs for various released versions of the Vgrid Descriptors package are described here. This page was last updated on 14 February 2011.

Bug Descriptions



Bug Name Versions Affected Description / Work Around
Memory allocation problem with call to vgd_new when there is more than one !! in a file and the second !! has a larger NI, NJ or NK array dimention. Version 5.0.3 and below Use version 5.1.0
vgd_get on key 'VCDM' and 'VCDT' was causing a problem with Intel compilers due to non nullified pointers. version 4.2.x and below Use version 4.3.0 and up.
In the context of using vgd_new(self,table), the 'self%table' is allocated based on the size of 'table' which is deallocated. version 3.6.1 Use version 3.6.2 and up.
Problem with vgd_get on key 'VCDT' for thermo level with unstaggered grid. version 3.6.0 Use version 3.6.1 and up.
Memory problem with vgd_get on key CVDT Version 3.2.0 to 3.5.0 Vector was allocated (size of momentum levels) instead of (size on thermo levels). With GEM 4, there was one missing level and the model was hagging. To solve that problem, use version 3.6.1 and up.
Optional arguments Version 2.0.1 and earlier Some optional arguments to the vgd_levels() and vgd_dpidps() method are not checked for presence before they are used. This may result in completely unpredictable (but reproducible) behaviour in any application using this component of the API. To avoid this problem, either update to version 2.0.2 or later, or provide values for all arguments to the affected methods.
Units problem with pressure coordinate Version 3.2.0 and earlier Generating the descriptor from legacy encoding will result in coefficent A being in hPa instead of PA (a factor 100 too small). This error will happen only if vgd_new(vgd,lui,kind=2) is used on a file without !!. For example, the program add_toctoc used on a pressure file without !! produced this error. Used version 3.3.0 and up to avoid this problem.