[ncl-talk] Station obs overlay on map

Debasish Hazra debasish.hazra5 at gmail.com
Mon Jul 20 08:06:39 MDT 2026


 Grib2 input is big to attach, here is the link of actual file (take any
day or forecast hours) :
https://nomads.ncep.noaa.gov/pub/data/nccf/com/gens/prod/gefs.20260718/00/chem/pgrb2ap25/
I am getting error in this line : lat_new(i,0:npts_range-1) =
obs_lat(indexes)
error says : fatal:Subscript out of range, error in subscript #0
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 68 in file
Test_read.ncl

Thanks,
Debasish


On Fri, Jul 17, 2026 at 10:26 PM Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:

> Hi,
> I am trying to do a plot with station data in netcdf overlay on model
> output following this example here :
> https://www.ncl.ucar.edu/Applications/Scripts/polyg_8.ncl
> But getting subscript range error. Attached is the ncl code and netcdf
> station data used for this. Any help on this is greatly appreciated.
>
> Thanks
> Debasish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20260720/07c723ba/attachment.htm>


More information about the ncl-talk mailing list