[ncl-talk] Problem in plotting due to data reading issue
Dennis Shea
shea at ucar.edu
Thu Nov 14 18:58:30 MST 2019
[1] Could it be you mistyped the file name?
Script.ncl has:
A = addfile("HPRF_*1951*_2017_JJAS_fldmean.nc","r")
The actual file name is:
HPRF_*1901*_2017_JJAS_fldmean.nc
Further:
The dimensions for HPRF_*1901*_2017_JJAS_fldmean.nc are
time = UNLIMITED ; // (*3561* currently) <===========
bnds = 2 ;
lon = 1 ;
lat = 1 ;
The dimensions for the other variables are:
netcdf HPTmax_1951_2017_JJAS_fldmean {
dimensions:
time = UNLIMITED ; // (*67* currently) <====
bnds = 2 ;
lon = 1 ;
lat = 1 ;
I assume you want the same period plotted.
There were other tincorrec things .... see attached script
On Tue, Nov 12, 2019 at 8:07 PM Atul Saini via ncl-talk <ncl-talk at ucar.edu>
wrote:
> Hi Dear NCL,
> I want the xy plot with left axis for temperature and
> right for rainfall. But using the attached script and data, I am getting
> stuck in between, please have a look at the script and help me to find out
> the problem.
>
> Thanks in advance. Your support is highly important.
>
> Regards,
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191114/8e7f2ad6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Script.ncl
Type: application/octet-stream
Size: 2534 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191114/8e7f2ad6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atul.png
Type: image/png
Size: 134056 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191114/8e7f2ad6/attachment.png>
More information about the ncl-talk
mailing list