[gradsusr] Re Error in using lterp

Marshall Mdoka marshall.mdoka at monash.edu
Sat Jul 6 17:00:25 EDT 2013


Hi All,

I have trying to differentiate different gridded data and this is what I 
get from model data and GPCP analysis:

ga-> sdfopen SRFsep95-mar96CtlAVG.nc
Scanning self-describing file:  SRFsep95-mar96CtlAVG.nc
SDF file SRFsep95-mar96CtlAVG.nc is open as file 1
LON set to 11.8433 58.6063
LAT set to -36.9473 4.69835
LEV set to 0 0
Time values set: 1995:9:15:0 1995:9:15:0
E set to 1 1
ga-> sdfopen /home/mmdoka/work/obs/GPCP/precip.mon.mean.nc
Scanning self-describing file: /home/mmdoka/work/obs/GPCP/precip.mon.mean.nc
SDF file /home/mmdoka/work/obs/GPCP/precip.mon.mean.nc is open as file 2
ga-> d lterp(rt,precip.2)
Data Request Error: Invalid grid coordinates
   World coordinates convert to non-integer  grid coordinates
     Variable = precip.2  Dimension = 3
Operation Error:  Error from lterp function
   Error ocurred at column 1
DISPLAY error:  Invalid expression
   Expression = lterp(rt,precip.2)

Please help/

On 01/07/2013 13:29, gradsusr-request at gradsusr.org wrote:
> 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: gradsusr Digest, Vol 41, Issue 1 (Geeta Geeta)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 1 Jul 2013 19:29:24 +0800 (SGT)
> From: Geeta Geeta <geetag54 at yahoo.com>
> Subject: Re: [gradsusr] gradsusr Digest, Vol 41, Issue 1
> To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
> Message-ID:
> 	<1372678164.61646.YahooMailNeo at web190101.mail.sg3.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks Davide
> It worked.
>
> ?
> Geeta.
>
>
> ________________________________
>   From: "gradsusr-request at gradsusr.org" <gradsusr-request at gradsusr.org>
> To: gradsusr at gradsusr.org
> Sent: Monday, 1 July 2013 4:43 PM
> Subject: gradsusr Digest, Vol 41, Issue 1
>   
>
> 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. server has been down (Jennifer Adams)
> ?  2. fill pattern (Li Mingxing)
> ?  3. Reg Fwrite (Geeta Geeta)
> ?  4. Re: Reg Fwrite (Suman Maity)
> ?  5. Re: Reg Fwrite (Davide Sacchetti)
> ?  6. issues with fwrite (Geeta Geeta)
> ?  7. Re: fill pattern (Jennifer Adams)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 30 Jun 2013 19:47:59 -0400
> From: Jennifer Adams <jma at cola.iges.org>
> Subject: [gradsusr] server has been down
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <7544C702-2D6D-4B66-8B3A-356686521348 at cola.iges.org>
> Content-Type: text/plain; charset="windows-1252"
>
> Dear All,
> We've been experiencing some technical difficulties with the hardware and software that support the GrADS users forum. We didn't realize the server was down ? it crashed without making a sound. It is not unusual for several days to go by without any traffic in the forum, but I should have realized sooner that something was wrong with a such a long silence this time around. Sorry for the prolonged downtime!
> --Jennifer
>
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130630/56172874/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 1 Jul 2013 11:32:35 +0800
> From: Li Mingxing <limxing at gmail.com>
> Subject: [gradsusr] fill pattern
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> ??? <CACqFpk9ni7zNZRKetqtR2gyd8im+Myi8jy2jGo72P=WHmSWWfA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear All:
>
> I want to draw a figure like the following generated by NCL by setting
> CNfillmode. It show slash filled special areas. Could you tell me please if
> GrADS has such a function or settings can produce such figures? Thank you
> so much!
>
> MCing
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130701/3198a9a0/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Mon, 1 Jul 2013 14:19:26 +0530
> From: Geeta Geeta <geeta124 at hotmail.com>
> Subject: [gradsusr] Reg Fwrite
> To: grads grads <gradsusr at gradsusr.org>
> Message-ID: <BLU178-W110C9C031D57892D373C7B8A710 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
> I want to write total rainfall to one file from the WRF output
> I am using fwrite command as,
>
> ga-> open wrf-outp_d01_2011060303.ctl
> Scanning description file:? wrf-outp_d01_2011060303.ctl
> Data file wrf-outp_d01_2011060303.dat is open as file 1
> LON set to 73.9429 87.0571
> LAT set to 9.09704 21.7107
> LEV set to 1000 1000
> Time values set: 2011:6:3:3 2011:6:3:3
> ga-> set gxout fwrite
> ga-> set fwrite dummy.dat
> FWrite file name = dummy.dat
> FWwrite byte order is big_endian; format is stream
> ga-> q fwrite
> FWrite file is closed
> FWrite file name is: dummy.dat
> FWrite byte order is big_endian ; machine byte order is big_endian
> ga-> d rainc+rainnc
> Error opening output file for fwrite
> ? File name is: dummy.dat
> ga-> disable fwrite
>
> It's not writing the data to dummy.dat
> Geeta
>
> ??? ???  ??? ?  ??? ??? ?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130701/2526e4e5/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Mon, 1 Jul 2013 14:42:15 +0530
> From: Suman Maity <suman.buie at gmail.com>
> Subject: Re: [gradsusr] Reg Fwrite
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> ??? <CAGbSuGz6VoF3MX5PPWzDktFp0quXL1sjua41T2Btfj75-hgtBw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear
> Geeta
> Do the as mentioned below:
>
> ga-> set gxout fwrite
> ga-> set fwrite dummy.dat
> ga-> d rainc+rainnc
> ga-> disable fwrite
>
> And check. I think it will work.
>
> Regards
> 'S Maity'
>
>
> ********************************************************
> Suman Maity*
> Research Scholar
> Center for Ocean, Rivers, Atmosphere and Land Sciences(CORAL)
> Indian Institute Of Technology Kharagpur.
> *
> ******************************************************* *
> *? *
>
>
> On Mon, Jul 1, 2013 at 2:19 PM, Geeta Geeta <geeta124 at hotmail.com> wrote:
>
>> Hi all,
>> I want to write total rainfall to one file from the WRF output
>> I am using fwrite command as,
>>
>> ga-> open wrf-outp_d01_2011060303.ctl
>> Scanning description file:? wrf-outp_d01_2011060303.ctl
>> Data file wrf-outp_d01_2011060303.dat is open as file 1
>> LON set to 73.9429 87.0571
>> LAT set to 9.09704 21.7107
>> LEV set to 1000 1000
>> Time values set: 2011:6:3:3 2011:6:3:3
>> ga-> set gxout fwrite
>> ga-> set fwrite dummy.dat
>> FWrite file name = dummy.dat
>> FWwrite byte order is big_endian; format is stream
>> ga-> q fwrite
>> FWrite file is closed
>> FWrite file name is: dummy.dat
>> FWrite byte order is big_endian ; machine byte order is big_endian
>> ga-> d rainc+rainnc
>> Error opening output file for fwrite
>> ?  File name is: dummy.dat
>> ga-> disable fwrite
>>
>> It's not writing the data to dummy.dat
>> Geeta
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130701/4f0c1905/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Mon, 01 Jul 2013 11:31:08 +0200
> From: Davide Sacchetti <davide.sacchetti at arpal.gov.it>
> Subject: Re: [gradsusr] Reg Fwrite
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID: <1372671068.3142.232.camel at dvd>
> Content-Type: text/plain; charset="UTF-8"
>
> the syntax is correct, it's seems a filesystem problem: have you the
> permission to write dummy.dat?
> bye bye
> Davide
>
>
> On Mon, 2013-07-01 at 14:19 +0530, Geeta Geeta wrote:
>> Hi all,
>> I want to write total rainfall to one file from the WRF output
>> I am using fwrite command as,
>>
>> ga-> open wrf-outp_d01_2011060303.ctl
>> Scanning description file:? wrf-outp_d01_2011060303.ctl
>> Data file wrf-outp_d01_2011060303.dat is open as file 1
>> LON set to 73.9429 87.0571
>> LAT set to 9.09704 21.7107
>> LEV set to 1000 1000
>> Time values set: 2011:6:3:3 2011:6:3:3
>> ga-> set gxout fwrite
>> ga-> set fwrite dummy.dat
>> FWrite file name = dummy.dat
>> FWwrite byte order is big_endian; format is stream
>> ga-> q fwrite
>> FWrite file is closed
>> FWrite file name is: dummy.dat
>> FWrite byte order is big_endian ; machine byte order is big_endian
>> ga-> d rainc+rainnc
>> Error opening output file for fwrite
>> ?  File name is: dummy.dat
>> ga-> disable fwrite
>>
>> It's not writing the data to dummy.dat
>> Geeta
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list