DODS download and frwite
Mark Sponsler
msponsler at COMCAST.NET
Wed Aug 2 15:17:52 EDT 2006
Hi,
I'm confused about setting increments on control files and doing subsequent
fwrite operations. Example:
I'm looking at the topo files from the monsoondata DODs server. In
reviewing the data on the DODs server, it indicates all files are 4800 X
6000 increments but the output from the DODs client (when it's doing the
download) displays info like:
gxstart 0 gxstop 4800
gystart 0 gystop 6000
infering 4801 (0-4800) and 6001 (0-6000) increments.
So I took a chance and did the DODs operation as follows:
'sdfopen http://www.monsoondata.org:9090/dods/topo/E100N40'
'set fwrite E100N40.dat'
'set gxout fwrite'
'set x 0 4800'
'set y 0 6000'
Then I built control files for these data files with increments of 4801 and
6001 respectively.
Then I did an open on these files as follows:
'open topo.ctl'
'set x 0 4800'
'set y 0 6000
And performed some more operations writing the output using frwite as
follows:
'set fwrite newtopo.dat'
'set gxout fwrite'
'set x 0 4800'
'set y 0 6000'
And built control files for these data files with increments of 4801 and
6001 respectively.
The Problem is if I do a 'display' on the resulting output, the results
from a few of the are skewed in the x direction. If I play with the
control file increments by reducing the x increment by 1, all dislpays AOK.
My question is: Am I doing something wrong or is there problems with a few
of the topo files on the server?
Thanks in advance for any assistance!
More information about the gradsusr
mailing list