[gradsusr] smoothing large resolution data
Andrew Friedman
andfried at gmail.com
Tue Jan 17 15:55:31 EST 2017
Hi Wendi,
What specific error message are you getting?
A typical problem is that the time axes of the two files have to be the same - you may want to check your dimension environment.
Andrew
> On Jan 17, 2017, at 1:53 PM, wendi harjupa <wendiharjupa at gmail.com> wrote:
>
> Dear Mr. Andrew and colleagues
>
> Please tell me what wrong with this script. It does not work to interpolate the coarse grid to fine grid
>
> ##first data/resolution 0.002x0.003 (lat, lon)
>
> 'open ./Rain.ctl'
> 'setXrain.gs'
> 'setCOMMON.gs' ! set parameter (lon, lat, parea, grid off, etc)
> # 'd rr' ! variable
> 'xcbar 8.85 9.05 0.8 4 -fw 0.11 -fh 0.15 -edge triangle -fstep 1 -line on -lc 1'
> 'close 1'
>
> ##second data/resolution 0.1x0.1 (lat, lon)
>
> 'open ./Him.ctl'
> 'setCOMMON.gs'
> 'setHimawari.gs'
> # 'd albedo' ! variable
> 'xcbar 6.3 9 0.23 0.37 -fw 0.11 -fh 0.15 -edge triangle -fs 2 -fo 1 -line on'
> 'close 1'
>
> 'd lterp(rr, albedo.2, aave)'
>
> Any help will be very appreciated.
> Thank you very much.
>
> Best regards,
> wendi
>
>
>
>
>
>
>
>
>
>
>
>
> On Tue, Jan 17, 2017 at 7:12 PM, wendi harjupa <wendiharjupa at gmail.com> wrote:
> Dear Mr. Andrew..
>
> Many thanks for your valuable information.
>
> Best regards,
> wendi
>
> On Tue, Jan 17, 2017 at 6:45 PM, Andrew Friedman <andfried at gmail.com> wrote:
> Hi Wendi,
> You can use the function lterp for spatial interpolation: http://cola.gmu.edu/grads/gadoc/gradfunclterp.html
> -Andrew
>
> > On Jan 17, 2017, at 10:29 AM, wendi harjupa <wendiharjupa at gmail.com> wrote:
> >
> > Dear All
> >
> > I got problem in overlaying two type of data.
> > As I have attached the plot of data in this email.
> >
> > First data is rain data with resolution is about 0.002x0.003 deg (lon ,lat).
> > The rain data is indicated by rainbow color.
> > and second data is cloud data with resolution is 0.1x0.1 deg (lon, lat)
> > The cloud data is indicated by gray color
> >
> > The plot looks not good. Is there any tools in grads to smooth the cloud data?
> > Then, we can interpolate cloud data to become 0.005 or 0.001, and plot data will be more nice.
> >
> > Thank you very much for your attention and help.
> >
> > Best regards,
> > wendi
> >
> > <large skale.png>_______________________________________________
> > 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