[gradsusr] txt to dat/bin file
Charles Seman
Charles.Seman at noaa.gov
Thu Apr 7 13:22:49 EDT 2011
See Hai Ooi and Fadzil,
Don't think I can be of much help here. I downloaded See Hai Ooi's
attached files, and could not view sd1.gmf (what type of file is
this?). Also, made a local version "sd_local.ctl" but again could not
open the binary data file sd.dat in GrADS. Don't know if data written
on a Windows computer can be read on a non-windows computer?
Chuck
See Hai Ooi wrote:
> Hi Fadzil,
>
> I guess you are trying to plot the time series of standardized
> difference values. Hope the files attached are helpful to you. As
> far as I am concerned, I have to put in the time axis label manually.
> If I open the .ctl and do the plotting automatically, there is a
> one-year shift of time axis label as shown in sd1.gmf. Mr Chen/Mr
> Charles Seman, is there any way to rectify this time axis label
> problem ? I use Window version of GrADS 2.0.a7.oga.3 .
>
> Thank you and best regards.
>
> Ooi
>
>
>
> --- On *Thu, 7/4/11, Pou-Chang John Chen /<wishingwork at yahoo.com.tw>/*
> wrote:
>
>
> From: Pou-Chang John Chen <wishingwork at yahoo.com.tw>
> Subject: Re: [gradsusr] txt to dat/bin file
> To: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Date: Thursday, 7 April, 2011, 3:46 AM
>
> Hello fadzil
> As you 'set gxout fwrite', try to set the dimension only one
> point, like: 'set x1';'set y 1';'set z 1';'set t 1', before you
> display the value
>
> I hope this help you
> John
>
> ------------------------------------------------------------------------
> *From:* fadzil mnor <fadzilmnor84 at gmail.com>
> *To:* gradsusr at gradsusr.org
> *Sent:* Thu, April 7, 2011 2:14:57 AM
> *Subject:* [gradsusr] txt to dat/bin file
>
> Hi,
> I'm using windows version of GrADS.
> i'm planning to convert txt file with only these numbers/data (below)
> in it to binary file (dat or bin)..
> *************************
> 0.38
> -0.58
> -0.86
> -0.10
> -0.57
> -0.11
> 0.98
> -0.02
> -0.46
> 0.82
> -0.42
> 0.28
> -0.24
> 0.46
> 0.69
> 0.23
> -0.07
> 0.47
> -0.35
> -0.32
> -0.05
> -0.18
> -0.63
> 0.36
> -0.12
> 0.78
> -0.36
> 0.21
> -0.17
> 0.46
> -0.43
> -0.31
> -0.22
> -0.01
> 0.66
> 0.19
> -0.75
> 0.05
> -0.35
> 0.86
> ****************
> i've tried something like in here :
> http://tc-typhoon.blogspot.com/2011/03/use-grads-to-read-in-text-files-for.html
> , but it's not working. including the file address (since i am using
> windows)..
>
> any idea?
> thanks
>
> fadzil
>
--
Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.
********************************************************************
Charles Seman Charles.Seman at noaa.gov
U.S. Department of Commerce / NOAA / OAR
Geophysical Fluid Dynamics Laboratory voice: (609) 452-6547
201 Forrestal Road fax: (609) 987-5063
Princeton, NJ 08540-6649 http://www.gfdl.noaa.gov/~cjs/
********************************************************************
"The contents of this message are mine personally and do not reflect any
official or unofficial position of the United States Federal Government,
the United States Department of Commerce, or NOAA."
More information about the gradsusr
mailing list