[ncl-talk] reading station data
Dennis Shea
shea at ucar.edu
Tue Feb 3 16:04:24 MST 2026
Also at *https://www.ncl.ucar.edu/Applications
<https://www.ncl.ucar.edu/Applications>*/
Look under* File I/O*
see: *Read ascii*
On Tue, Feb 3, 2026 at 3:50 PM Dave Allured - NOAA Affiliate via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Debasish, that is a CSV file with header lines. Use *asciiread* to read
> the entire file as strings. Then use string parsing functions such as
> *str_split_csv* and/or *str_get_field* to get individual columns.
> Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do.
>
> https://www.ncl.ucar.edu/Applications/read_csv.shtml
>
>
> On Tue, Feb 3, 2026 at 12:38 PM Debasish Hazra via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hi,
>> I am trying to read station data with header and column of data, with
>> COlumn lengths are not equal in files and have attached one example file in
>> the attachment. Can someone help to point what ascii read command to be
>> used to extract time and column information from these files.
>> Thanks
>> Debasish.
>>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20260203/f3c0cf21/attachment.htm>
More information about the ncl-talk
mailing list