[gradsusr] ascii data in netcdf

Ismaila Diallo ismailadiallo64 at yahoo.fr
Mon Nov 22 12:54:03 EST 2010


Dear John,
I'm trying to write ascii data in netcdf format aor using it after in grads. so 
i've 2 grads versions 1.9b4 and 2.07 a.......
Sincerely
Cheers!!!!!!!!!!!



----- Original Message ----
From: "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org>
To: gradsusr at gradsusr.org
Sent: Mon, November 22, 2010 12:50:07 PM
Subject: gradsusr Digest, Vol 9, Issue 49

Send gradsusr mailing list submissions to
    gradsusr at gradsusr.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://gradsusr.org/mailman/listinfo/gradsusr
or, via email, send a message with subject or body 'help' to
    gradsusr-request at gradsusr.org

You can reach the person managing the list at
    gradsusr-owner at gradsusr.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gradsusr digest..."


Today's Topics:

   1. Re: starting grads (Huddleston, John)
   2. help: lats4d (Marcelino II Villafuerte)
   3. ascii data in netcdf (Ismaila Diallo)
   4. Re: ascii data in netcdf (Huddleston, John)
   5. Re: ascii data in netcdf (fadzil mnor)
   6. Re: ascii data in netcdf (Huddleston, John)


----------------------------------------------------------------------

Message: 1
Date: Sat, 20 Nov 2010 11:28:44 -0800
From: "Huddleston, John" <Huddleston at cira.colostate.edu>
Subject: Re: [gradsusr] starting grads
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    
<F367071F539DC64FB75E7D7690B8160D010D7A7379A5 at EXVMBX003-2.exch003intermedia.net>
    
Content-Type: text/plain; charset="iso-8859-1"

Sepideh

The control file is fine. It can read the file. It's the data that's the issue.

John Huddleston

________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On Behalf Of 
sepide sarachi [sepideh.sarachi at gmail.com]
Sent: Saturday, November 20, 2010 8:55 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] starting grads

Hi
Thank u so much for your time
That is the exact problem i am having
My guess is i need to make a control file myself for every other file
I am not sure if one can work for all and if this one is just a sample

Sepideh sarachi

On Nov 20, 2010, at 1:50 AM, "Huddleston, John" 
<Huddleston at cira.colostate.edu<mailto:Huddleston at cira.colostate.edu>> wrote:

Sepideh, it should work for all files as long as they are in the %y4 directory. 
I put your data file under a 2009 directory and opened it with GrADS. The output 
is below. There does seem to be a problem with your data. John

Config: v2.0.a9 little-endian readline printim grib2 netcdf hdf4-sds hdf5 
opendap-grids,stn athena geotiff shapefile
Issue 'q config' command for more detailed configuration information
GX Package Initialization: Size = 11 8.5
ga-> open PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
Scanning description file:  PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
Data file %y4/PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.%y4%m2%d2.RT is open as file 1
LON set to 0 360
LAT set to -89.75 89.75
LEV set to 1 1
Time values set: 2007:1:1:0 2007:1:1:0
E set to 1 1
ga-> q file
File 1 : global daily analysis (grid box mean, the grid shown is the center of 
the grid box)
  Descriptor: PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
  Binary: %y4/PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.%y4%m2%d2.RT
  Type = Gridded
  Xsize = 720  Ysize = 360  Zsize = 1  Tsize = 9999  Esize = 1
  Number of Variables = 2
     rain  1  0  the grid analysis (0.1mm/day)
     gnum  1  0  the number of stn
ga-> d rain
Cannot contour grid - all undefined values
ga-> d gnum
Cannot contour grid - all undefined values
ga->

________________________________
From: gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org> 
[gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org>] On Behalf 
Of sepide sarachi [sepideh.sarachi at gmail.com<mailto:sepideh.sarachi at gmail.com>]
Sent: Friday, November 19, 2010 7:01 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] starting grads

thanks for the answer
the version that i am using is 2.0 a8
my main problem is do i have to make a control file for every one of the files 
that i want to read?
I have a bunch of daily precipitations,that i attach one of them, but i just 
have one control file and i have no idea if that is just a sample, or it works 
for all of the files.

the first one is the only control file that i have and the second one is 
precipitation for 01/04/2009

On Fri, Nov 19, 2010 at 5:41 PM, Huddleston, John 
<<mailto:Huddleston at cira.colostate.edu>Huddleston at cira.colostate.edu<mailto:Huddleston at cira.colostate.edu>>
 wrote:
Hi Sepideh,

You are going to have to give us more information. Try and be more focused on 
the GrADS files you are using, show us an example of one of the CTL files, give 
us a link to the data files, and tell us what version of GrADS you are using 
with the 'q config' command.

John Huddleston, PhD
Cooperative Institute for Research in the Atmosphere

________________________________
From: <mailto:gradsusr-bounces at gradsusr.org> 
gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org> 
[<mailto:gradsusr-bounces at gradsusr.org>gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org>]
 On Behalf Of sepide sarachi 
[<mailto:sepideh.sarachi at gmail.com>sepideh.sarachi at gmail.com<mailto:sepideh.sarachi at gmail.com>]

Sent: Friday, November 19, 2010 3:25 PM
To: <mailto:gradsusr at gradsusr.org> 
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
Subject: [gradsusr] starting grads

Hi,
Can anyone help me with this problem:
I have a set of data with the extension of .lnx, and i have the control file for 
them.
I open the control file, but i don't know how to read the data afterward.

thanks

--
Sepideh Sarachi
PhD student at
The Henry Samueli School of Engineering -
Dep. of Civil & Environmental Engineering -
University of California, Irvine

_______________________________________________
gradsusr mailing list
<mailto:gradsusr at gradsusr.org>gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>

<http://gradsusr.org/mailman/listinfo/gradsusr>http://gradsusr.org/mailman/listinfo/gradsusr





--
Sepideh Sarachi
PhD student at
The Henry Samueli School of Engineering -
Dep. of Civil & Environmental Engineering -
University of California, Irvine
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://gradsusr.org/pipermail/gradsusr/attachments/20101120/05c7cb31/attachment-0001.html
 

------------------------------

Message: 2
Date: Mon, 22 Nov 2010 14:12:36 +0800
From: Marcelino II Villafuerte <mqvillafuerte at gmail.com>
Subject: [gradsusr] help: lats4d
To: gradsusr at gradsusr.org
Message-ID:
    <AANLkTikEfmYNnrzM_V-H2YG-6_i0OSPgZ6vYYTeeqRz0 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi everyone,

I want to compute the bias of my model results thus, I'm trying to use the
lats4d so that they (i.e. Aphrodite & model netcdf files) may have
equivalent resolution.
But when I try to use the lats4d command this message is given: "Unknown
command: lats4d".
I'm using Grid Analysis and Display System (GrADS) Version 2.0.a9. It seems
that the grads version i have in my linux (Fedora13) doesn't support LATS?
Is there something I can do to solve this problem?

Thanks in advance,
Mar

-- 
---------------------------------------
Marcelino Q. Villafuerte II
Weather Specialist I
IAAS, CAD
PAGASA-DOST
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://gradsusr.org/pipermail/gradsusr/attachments/20101122/0a0dd666/attachment-0001.html
 

------------------------------

Message: 3
Date: Mon, 22 Nov 2010 10:47:41 +0000 (GMT)
From: Ismaila Diallo <ismailadiallo64 at yahoo.fr>
Subject: [gradsusr] ascii data in netcdf
To: gradsusr at gradsusr.org
Message-ID: <279803.18492.qm at web29604.mail.ird.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Dear Grads user's

I have some station data in ascii format therefore may i convert this data in 
netcdf format with grads. If it possible, so could someone teach me how to do 
this script.
Hope i will get your great help to resolve my problem
Best Regard.

Ismaila



      


------------------------------

Message: 4
Date: Mon, 22 Nov 2010 06:35:02 -0800
From: "Huddleston, John" <Huddleston at cira.colostate.edu>
Subject: Re: [gradsusr] ascii data in netcdf
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    
<F367071F539DC64FB75E7D7690B8160D010D7A7379A8 at EXVMBX003-2.exch003intermedia.net>
    
Content-Type: text/plain; charset="us-ascii"

Ismaila

Are you trying to write ASCII data into netCDF format; or, are you needing help 
creating a GrADS control script to read the netCDF file? Depending upon which 
way you are going, we need more information.

John Huddleston

________________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On Behalf Of 
Ismaila Diallo [ismailadiallo64 at yahoo.fr]
Sent: Monday, November 22, 2010 3:47 AM
To: gradsusr at gradsusr.org
Subject: [gradsusr] ascii data in netcdf

Dear Grads user's

I have some station data in ascii format therefore may i convert this data in
netcdf format with grads. If it possible, so could someone teach me how to do
this script.
Hope i will get your great help to resolve my problem
Best Regard.

Ismaila




_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr


------------------------------

Message: 5
Date: Tue, 23 Nov 2010 00:40:18 +0800
From: fadzil mnor <fadzilmnor84 at gmail.com>
Subject: Re: [gradsusr] ascii data in netcdf
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    <AANLkTikYP7y0H7LvT-ytKrj9vasjpDjUMYf8kYT0aeO9 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

hi,
if he wants to convert those *.ascii file to *.nc file, how can we do it?
is it possible just convert it in linux command or need to do something else.

On 11/22/10, Huddleston, John <Huddleston at cira.colostate.edu> wrote:
> Ismaila
>
> Are you trying to write ASCII data into netCDF format; or, are you needing
> help creating a GrADS control script to read the netCDF file? Depending upon
> which way you are going, we need more information.
>
> John Huddleston
>
> ________________________________________
> From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
> Behalf Of Ismaila Diallo [ismailadiallo64 at yahoo.fr]
> Sent: Monday, November 22, 2010 3:47 AM
> To: gradsusr at gradsusr.org
> Subject: [gradsusr] ascii data in netcdf
>
> Dear Grads user's
>
> I have some station data in ascii format therefore may i convert this data
> in
> netcdf format with grads. If it possible, so could someone teach me how to
> do
> this script.
> Hope i will get your great help to resolve my problem
> Best Regard.
>
> Ismaila
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>


------------------------------

Message: 6
Date: Mon, 22 Nov 2010 08:53:55 -0800
From: "Huddleston, John" <Huddleston at cira.colostate.edu>
Subject: Re: [gradsusr] ascii data in netcdf
To: GrADS Users Forum <gradsusr at gradsusr.org>
Message-ID:
    
<F367071F539DC64FB75E7D7690B8160D010D7A7379A9 at EXVMBX003-2.exch003intermedia.net>
    
Content-Type: text/plain; charset="us-ascii"

Fadzil

While there are many folks on this list who could convert ASCII to netCDF, that 
help can best come from the 
http://www.unidata.ucar.edu/support/mailinglist/mailing-list-form.html email 
list.

This list is for GrADS software.

John Huddleston

________________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On Behalf Of 
fadzil mnor [fadzilmnor84 at gmail.com]
Sent: Monday, November 22, 2010 9:40 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] ascii data in netcdf

hi,
if he wants to convert those *.ascii file to *.nc file, how can we do it?
is it possible just convert it in linux command or need to do something else.

On 11/22/10, Huddleston, John <Huddleston at cira.colostate.edu> wrote:
> Ismaila
>
> Are you trying to write ASCII data into netCDF format; or, are you needing
> help creating a GrADS control script to read the netCDF file? Depending upon
> which way you are going, we need more information.
>
> John Huddleston
>
> ________________________________________
> From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On
> Behalf Of Ismaila Diallo [ismailadiallo64 at yahoo.fr]
> Sent: Monday, November 22, 2010 3:47 AM
> To: gradsusr at gradsusr.org
> Subject: [gradsusr] ascii data in netcdf
>
> Dear Grads user's
>
> I have some station data in ascii format therefore may i convert this data
> in
> netcdf format with grads. If it possible, so could someone teach me how to
> do
> this script.
> Hope i will get your great help to resolve my problem
> Best Regard.
>
> Ismaila
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr


------------------------------

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr


End of gradsusr Digest, Vol 9, Issue 49
***************************************



      



More information about the gradsusr mailing list