[gradsusr] (no subject)
Andrew Friedman
andfried at gmail.com
Thu Mar 17 05:03:23 EDT 2016
Hi Gargi,
You should also be able to regrid within GrADS using lterp: http://cola.gmu.edu/grads/gadoc/gradfunclterp.html
-Andrew
> On Mar 17, 2016, at 6:47 AM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in> wrote:
>
> Thanku.....CDO is not installed.....ok I am trying to install it....thanks a lot....!!!
>
>
> On Thu, Mar 17, 2016 at 11:01 AM, Kishore Ragi <kishoreragi at gmail.com> wrote:
> Hi,
> If CDO installed on your machine already. Invoke the following commands. (you have to regid both the files to get them compatible)
>
> cdo -f nc -sellonlatbox,40,170,0,45 -random,r400x291 template.nc
>
> cdo -remapcon,template.nc file1.nc file1regrid.nc
> cdo -remapcon,template.nc file2.nc file2regrid.nc
>
> Hope it solves your problem !!!
>
> Cheers,
> Kishore
>
> PhD student in climate science,
> National Institute of Technology, Rourkela,
> India- 769008
> Phone: +91-8908671881
>
> http://www.researchgate.net/profile/Kishore_Ragi
>
> https://in.linkedin.com/in/kishoreragi
>
> http://kishoreragi.webnode.com/
>
> On Thu, Mar 17, 2016 at 10:45 AM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in> wrote:
> no its...domain is :
> lon 40 170'
> lat 0 45
>
>
> On Thu, Mar 17, 2016 at 10:36 AM, Kishore Ragi <kishoreragi at gmail.com> wrote:
> what is your domain (lon,lat)? global?
>
>
> PhD student in climate science,
> National Institute of Technology, Rourkela,
> India- 769008
> Phone: +91-8908671881
>
> http://www.researchgate.net/profile/Kishore_Ragi
>
> https://in.linkedin.com/in/kishoreragi
>
> http://kishoreragi.webnode.com/
>
> On Thu, Mar 17, 2016 at 10:11 AM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in> wrote:
> Hello,
> Correct my temperature data is 144*73
> and precipitation data is 144*72.
>
> Thanku, for this, but is it possible to change from 144*73 to 144*72 or vice versa. I am not so perfect in GrADS.
>
> Regards
>
> On Thu, Mar 17, 2016 at 9:36 AM, Kishore Ragi <kishoreragi at gmail.com> wrote:
> Dear Gargi,
>
> Follow Dr. Jayakrishnan above.
>
> Regards,
> Kishore
>
> PhD student in climate science,
> National Institute of Technology, Rourkela,
> India- 769008
> Phone: +91-8908671881
>
> http://www.researchgate.net/profile/Kishore_Ragi
>
> https://in.linkedin.com/in/kishoreragi
>
> http://kishoreragi.webnode.com/
>
> On Thu, Mar 17, 2016 at 6:57 AM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in> wrote:
> Hello Andrew,
>
> This is the error message which I am getting.
>
> "run tcorr1000.gs
> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> Error from SCORR: Incompatable grids
> Operation Error: Error from scorr function
> Error ocurred at column 1
> DISPLAY error: Invalid expression
> Expression = scorr(jant,janp,lon=40,lon=170,lat=0,lat=45)"
>
> Regards
>
>
> On Thu, Mar 17, 2016 at 4:06 AM, Andrew Friedman <andfried at gmail.com> wrote:
> Hi Gargi,
>
> Can you please include at what step you received the error and what your error message was?
> It would also be helpful to try to simplify the script as much as possible to isolate what caused the problem.
>
> Andrew
>
> > On Mar 16, 2016, at 7:07 PM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in> wrote:
> >
> > Hello,
> > I have one problem regarding correlation. I want to plot correlation between two variables precipitation and temperature. The script is written below:
> >
> > "reinit"
> > "sdfopen t1000.nc"
> > 'set poli on'
> > 'set lon 40 170'
> > 'set lat 0 45'
> > "set t 1 420"
> > "define jant=aave(temp-273.15,lon=40,lon=170,lat=0,lat=45)"
> > *"modify avesst seasonal"
> > *"set t 1 432"
> > *"define sstanom=sst1-avesst"
> >
> > *"define nino4=aave(sstanom,lon=-150,lon=160,lat=-5,lat=5)"
> > "close 1"
> >
> > "sdfopen precip.mon.mean.nc"
> > *"set lon 0 360"
> > *"set lat -90 90"
> > "set t 1 420"
> > "define janp=aave(precip,lon=40,lon=170,lat=0,lat=45)"
> > "d scorr(jant,janp,lon=40,lon=170,lat=0,lat=45)"
> > *"gxprint tcorr.png x1024 y768"
> >
> > But I am getting error. Kindly help me regarding this.
> >
> > Regards
> > _______________________________________________
> > 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
>
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
More information about the gradsusr
mailing list