[gradsusr] (no subject)

Gargi Akhoury gargiakhoury at bitmesra.ac.in
Tue Mar 22 05:32:51 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160322/911b7f07/attachment.html 


More information about the gradsusr mailing list