PREVIOUS

NEXT


gtool4/Fortran 90 tools tutorial

Variable name and input and output limiting

2001-06-19 TOYODA Eizi


File and Variable

In the case

gtview test2d.nc

a variable (surface pressure) in netCDF file is automatically selected. If the specified NetCDF has plural variables, gtview selects the first (in declaration order) variable that can make figure. You can change this selection with explicit spec like this:

gtview test2d.nc@ps

filename@variable is the regular pattern.

input/output limiting

you can also specify the range to draw figure. 

gtview test2d.nc@ps,lat=-30:30

limits the well which it draws on between the 30N and 30S.
A limitation is divided with the comma, and it can be specified in any order.

gtview test2d.nc@ps,lat=-30:30,lon=90:180

If range designation doesn't have a colon, an upper limit and a lower limit become the same value.
The line graph of one dimension will be seen with the following example.

gtview test2d.nc@ps,lat=0

@