[ncl-talk] Filling up with missing data using str_split_by_length

Dennis Shea shea at ucar.edu
Sat Jul 4 17:07:39 MDT 2020


*https://www.ncl.ucar.edu/Document/Functions/Built-in/str_get_cols.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Built-in/str_get_cols.shtml>

See Example 3

The example look very similar to your datasets. Perhaps, the column number
need to be changed.

Good Luck

On Fri, Jul 3, 2020 at 11:42 AM Geeta Geeta via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi.
> My text data file has 11 columns and rows that are variable depending on
> the file.
>
> Some columns have incomplete data which I have to fill with -999. I was
> trying to use str_split_length but it is not working well.
>
> Can someone suggest how should I do this.
>
> thanks
>
>
> Geeta._______________________________________________
> 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/20200704/2f62ed2b/attachment.html>


More information about the ncl-talk mailing list