Lilliputian numbers
Douglas Clark
dbcl at CEH.AC.UK
Fri Feb 10 04:01:24 EST 2006
Ben,
Answers to some of your questions.....
1. 'set digsiz size' sets the numbers used for gxout grid to be of "size" inches, eg 'set digsiz 0.12'
'set dignum' is also useful - it controls the number of decimal places.
2. Use 'set gxout print' to print values to the screen. You can control the format via 'set prnopts'. Hopefully this means you won't need to export to Excel or whatever, so I'll skip that!
3. I'm guessing a bit here....but “Cannot contour grid * all undefined values” obviously suggests
that the field is not defined in the area you are looking at. Presumably this is not the case at all locations across the globe, since you say you plot the global field. The example you give (set lat 9 11, set lon -69 -66) looks like its largely ocean to me, so if your field is only defined over land this could be a problem...but I reckon you'll have thought of that. Is the problem with a variable that is stored in the file, or a derived variable (i.e. one you have created within GrADS)? If it's derived, then it might be that instead of using degrees west you need degrees east (e.g. if I open a file and it shows data starting at 0degE, then define a new global field, then 'set lon -60 -40', I will get the error you describe, but 'set lon 300 320' plots OK).
That's just a few ideas. You should be able to plot as you describe, so maybe try to gradually zoom in from a global plot until you can work out what's going wrong.
4. lats4d - I haven't a clue.
Doug
>>> benb at RESTEC.OR.JP 10/02/2006 08:22:38 >>>
Hello All,
I want to see individual data values in gridded data sets. I used the
function:
set gxout grid
d data
On the display screen I get grid boxes with tiny little (Lilliputian size)
numbers in them that are too small to read. If I narrow the lat/lon so
that the grid boxes appear large on the screen, the numbers are still tiny
and too small to read, or, in some cases I don’t see numbers at all. Can
someone tell me how to force the numbers to a larger (readable) size?
Also, is there a way I can list values in the command line window? If I
narrow to a single grid box, at a single time, then d will give me that
one value. Is there a way to get a listing of rows and columns of numbers
in the command line window? As a last resort, is there a way to import
the grid of values as ascii (rows and columns) into an editor (Msword?) or
a spreadsheet (Excel) to look at them (I'm using Grads in Windows)?
Also, one other very basic question. I have a global dataset that I can
view successfully:
set gxout contour (or grfill, or shaded)
d data
But if I subset the data, e.g.:
set lat 9 11
set lon -69 -66
d data
I get a message “Cannot contour grid * all undefined values”
Can you tell me what I’m doing wrong?
And finally, the comment for lats4d.gs in the grads script library says:
Writes NetCDF, HDF-SDS or GRIB files from GrADS. See additional
documentation.
But if I click on the word "documentation" I get a “web address no longer
correct” error. Can you tell me where to find/see the lat4d.gs
documentation?
As always, thanks very much for your help,
Ben
--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.
More information about the gradsusr
mailing list