[ncl-talk] Plotting spatial map of SPI
Dawit Abebe
dawit.kan at gmail.com
Thu Apr 20 05:30:13 MDT 2017
Dear Dennis,
I tried to figure out the challenge that when I replace
this
> res at gsnCenterString = spi&time({192112})
> with
> res at gsnCenterString = spi(0,{192112},:,:)
there was no error message "fatal:Coordinate indexing can not be used with coordinate variables” as previous.
However, moving on to the next command
i.e plot(0) = gsn_csm_contour_map_ce(wks,spi(0,{192112},:,:), res)
I have bad news returning error messages as follows
fatal:Dimension sizes on right hand side of assignment do not match dimension sizes of left hand side
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 2148 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 6701 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 7838 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 101 in file spi12_plotmap_script.ncl
I really need help sorting out this.
Thanks
Dawit
> On Apr 19, 2017, at 8:24 PM, Dennis Shea <shea at ucar.edu> wrote:
>
> Well, what did
>
> printVarSummary(prc&time)
>
> or
>
> print(prc&time)
>
> show?
>
> On Wed, Apr 19, 2017 at 11:18 AM, Dawit Abebe <dawit.kan at gmail.com <mailto:dawit.kan at gmail.com>> wrote:
> Dear Dennis
>
> Thank you so much!
>
> I tried with corrected commands but still have a problem with the command:
>
> res at gsnCenterString = spi&time({192112}), returning the following error message:
>
> fatal:Coordinate indexing can not be used with coordinate variables
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 100 in file spi12_plotmap_script.ncl
>
> What did I miss?
>
> Dawit
>
>
>
>> On Apr 19, 2017, at 6:25 PM, Dennis Shea <shea at ucar.edu <mailto:shea at ucar.edu>> wrote:
>>
>> latS = min(prc&lat)
>> latN = ma
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170420/b513e396/attachment.html
More information about the ncl-talk
mailing list