[gradsusr] (no subject)
Gargi Akhoury
gargiakhoury at bitmesra.ac.in
Tue Mar 22 08:53:08 EDT 2016
Hello,
I have tried but I am getting this error:
Data Request Warning: Request is completely outside file limits
Entire grid contents are set to missing data
Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1
Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 1 1 E =
1 1
Warning issued for variable = temp.2
Data Request Warning: Request is completely outside file limits
Entire grid contents are set to missing data
Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1
Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 13 13 E
= 1 1
Warning issued for variable = temp.2
Data Request Warning: Request is completely outside file limits
Entire grid contents are set to missing data
Grid limits of file: X = 1 144 Y = 1 73 Z = 1 1 T = 1 780 E = 1 1
Grid limits of request: X = 1 145 Y = 1 73 Z = -999 -999 T = 25 25 E
= 1 .......................................
Regards
On Tue, Mar 22, 2016 at 4:41 PM, Thomas Davies <tsd.davies at gmail.com> wrote:
> You need to 'set dfile 2' after opening the second file and then define
> the variable. Or define it as temp.2 to reference the second file
>
> On Tue, 22 Mar 2016 09:38 Gargi Akhoury, <gargiakhoury at bitmesra.ac.in>
> wrote:
>
>> Dear Grads Users,
>> It's a very simple problem but I am facing problem to solve
>> this.
>> I have two netcdf files like:
>> temp.nc
>> mslp.nc
>>
>> I want to open these two files together and display the image. I have
>> done it like this.
>>
>> 'sdfopen mslp.nc'
>> 'sdfopen t1000.nc'
>> 'define mslp=ave(pressure,t=1,t=420,12)'
>> 'd mslp'
>> 'c'
>> 'define tmp=ave(temp-273.15,t=1,t=420,12)'
>> 'd tmp'
>>
>> But I am getting error in this. The error is:
>>
>> "define tmp=ave(temp-273.15,t=1,t=420,12)
>> Averaging. dim = 3, start = 1, end = 420
>> Syntax Error: Invalid Operand
>> 'temp' not a variable or function name
>> Operation Error: Error from ave function
>> Error ocurred at column 1
>> DEFINE error: Invalid expression."
>>
>> Kindly, help me regarding this.
>>
>> Kind Regards
>> Gargi
>>
>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160322/8da2938c/attachment.html
More information about the gradsusr
mailing list