[Thread Prev][Thread Next][Index]

Re: [ferret_users] Question about "Listing every Nth point"



Hi,

Ansley, it's exactly what I was looking for!

However, the solution suggested by Stephen was just enough.

Thanks for your attention.

Cheers,

Paulo Henrique

2008/3/31, Ansley Manke <Ansley.B.Manke@xxxxxxxx>:
Hi Paulo,
What Stephen suggests will work well, but if you want more of the automatic formatting that Ferret does without for ASCII listings without Fortran formatting, you can use the /WIDTH= qualifier on the LIST command. The argument to /WIDTH is the maximum number of characters per line to be allowed.  For example, here's a really wide listing:
yes? use coads_climatology
yes? list/clobber/L=1/width=1500/file=aa.dat/y=-5:5 sst
You can also use /PRECISION to limit the number of significant digits, if the listing by default is giving you more precision than needed. You might be able to get the line length shorter, but of course with some loss of precision, with
yes? use coads_climatology
yes? list/clobber/L=1/width=1200/prec=3/file=aa.dat/y=-5:5 sst

LIST/WIDTH is also a way to restrict the number of columns that are put out by the listing, if you wanted to limit it to only, say 80 characters.

Ansley


Paulo Henrique wrote:
Hi Ferreters,

I'm trying to list to an ASCII file a grided 2D (XY) data, using the command

list/clobber/file=my_data.dat my_xy_var

However, Ferret always lists saying

      ... listing every   2th point

Note that I need coordinate information in the ASCII file, and that's why I'm not using FORTRAN formatting.

Then, how can I 'force' Ferret to list all values of my variable?


Thanks in advance!

--
Paulo Henrique Santiago de Maria, Ms
Grupo de Modelagem Atmosférica
Departamento de Meteorologia e Oceanografia
Fundação Cearense de Meteorologia e Recursos Hídricos




--
Ms. Paulo Henrique Santiago de Maria
Grupo de Modelagem Atmosférica
Departamento de Meteorologia e Oceanografia
Fundação Cearense de Meteorologia e Recursos Hídricos
Av. Rui Barbosa 1246 - CEP 60115-221
Fortaleza, Ceará
Fone: (85) 3101-1106 / 3101-1126
[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement