1.6.2.4. showres.py – Display the resolution of a netcdf grid

Usage:
showres.py [options] ncfile
Description:

Show the grid (rectangular or curvilinear) resolution of netcdf file.

Options:
-h, --help

show this help message and exit

-v VNAME, --var=VNAME

name of the variable from which to get grid

-m, --meters

resolution in meters? [default: False -> degrees]

Examples:

These examples are executed from the bin directory of the distribution.

$> showres.py ../data/mars3d.xy.nc
dx=0.0108562°, dy=0.0071907°
$> showres.py --meters ../data/mars3d.xy.nc
dx=0.801031km, dy=0.799714km
See also:

showgrid.py – Show and display a netcdf grid, resol(), get_xy().