[ncl-talk] save 1 file per day-time

Rashed Mahmood rashidcomsis at gmail.com
Sat Feb 29 07:47:21 MST 2020


Hi Vanucia,
What is the error? and which line do you think is problematic?
I think you should use integer for year, month and day numbers:

        y    := tointeger( str_get_field(data(j), 1, "-") )
        m   := tointeger( str_get_field(data(j), 2, "-") )
        d    := tointeger( str_get_field(data(j), 3, "-") )

However I am not what is the issue here. It is more helpful when you
provide specific error messages and variable summaries etc.

Cheers,
Rashed




On Sat, Feb 29, 2020 at 4:20 AM Vanúcia Schumacher via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Hi users
>
> I would like help to save 1 file per day-time.
> The data are in list format, I need to calculate the routine commands
> (attachment) for the year 2018 by a separate day (e.g. 2018.12.30.nc,
> 2018.12.31.nc, ... ), there are several informations for each day
> I tried to use the if condition but it is not working
> If someone can help me or guide me in what I am missing.
>
> Thanks
>
> _______________________________________________
> 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/20200229/a204a6cd/attachment.html>


More information about the ncl-talk mailing list