[ncl-install] Subscripty out of range

Carina V. Barca carvandar at hotmail.com
Tue Jul 30 13:57:02 MDT 2019


Hello I have trouble with ncl script.
I{m trying to draw a meteogram with rain
 ncdump -h wrfout_d01.nc | grep RAIN
        float QRAIN(Time, bottom_top, south_north, west_east) ;
                QRAIN:FieldType = 104 ;
                QRAIN:MemoryOrder = "XYZ" ;
                QRAIN:description = "Rain water mixing ratio" ;
                QRAIN:units = "kg kg-1" ;
                QRAIN:stagger = "" ;
                QRAIN:coordinates = "XLONG XLAT XTIME" ;
        float RAINC(Time, south_north, west_east) ;
                RAINC:FieldType = 104 ;
                RAINC:MemoryOrder = "XY " ;
                RAINC:description = "ACCUMULATED TOTAL CUMULUS PRECIPITATION" ;
                RAINC:units = "mm" ;
                RAINC:stagger = "" ;
                RAINC:coordinates = "XLONG XLAT XTIME" ;
        float RAINSH(Time, south_north, west_east) ;
                RAINSH:FieldType = 104 ;
                RAINSH:MemoryOrder = "XY " ;
                RAINSH:description = "ACCUMULATED SHALLOW CUMULUS PRECIPITATION" ;
                RAINSH:units = "mm" ;
                RAINSH:stagger = "" ;
                RAINSH:coordinates = "XLONG XLAT XTIME" ;
        float RAINNC(Time, south_north, west_east) ;
                RAINNC:FieldType = 104 ;
                RAINNC:MemoryOrder = "XY " ;
                RAINNC:description = "ACCUMULATED TOTAL GRID SCALE PRECIPITATION" ;
                RAINNC:units = "mm" ;
                RAINNC:stagger = "" ;
                RAINNC:coordinates = "XLONG XLAT XTIME" ;

And I get this error:
fatal:Subscript out of range, error in subscript #1
fatal:An error occurred reading new_rain
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 158 in file meteo_abrapampa_b.ncl

line 157 is this...
arain_point  = rain(:,locY,locX)

I attach the file.
Ho´pe you can help me out with this.
Best regards
Carina


Enviado desde Outlook<http://aka.ms/weboutlook>


[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>     Libre de virus. www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20190730/f25f11c8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meteo_abrapampa_b.ncl
Type: application/octet-stream
Size: 13216 bytes
Desc: meteo_abrapampa_b.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20190730/f25f11c8/attachment-0001.obj>


More information about the ncl-install mailing list