GrADS Tips and Tricks
set yflip on
This is useful when making crossections with the new Genesis files in
which the vertical levels are ordered 1 (.005 ) to 18 (.993).
Please be aware the documentation for the vint function is not correct. The order of the arguments is given as:
and should be:
The explanation for these arguments in the documentation is still valid. Using the arguments in the improper order may give reasonable-looking results, so if you are using the vint function, please verify you are using it correctly.
Say we have a netCDF data file with specific humidity (q) at the 1000, 900, 850, 700, 500, 400, 300, and 200 mb levels and a surface pressure field (ps) in mb. We can calculate the vertically integrated water vapor:
This NCL script allows you to convert sigma level data to pressure level data and also gives the surface pressure field necessary for the vint function.
Use \ before title and after.
More questions? See the online GrADS manual.