[ncl-talk] reading list of files with few missing files

Rick Brownrigg brownrig at ucar.edu
Thu Aug 1 08:49:27 MDT 2019


Hi Ipsita,

Try removing the "test." from the first part of that URL -- that's an
internal testing site for preparing documentation.

RIck

On Thu, Aug 1, 2019 at 8:15 AM Ipsita Putatunda via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Hi Dennis,
> I tried several times but the link you have shared is not opening. I have
> hourly data files for 30 years. In some cases there are 3 successive hourly
> files, and in some cases it is missing. In that case how can I put it in a
> loop for 30 years?
>
> Thanks,
> Ipsita
>
> On Thu, Aug 1, 2019 at 5:24 PM Dennis Shea <shea at ucar.edu> wrote:
>
>> There is no magic ...
>>
>> If you do not have 3 successive hourly files then you should perform
>> linear interpolation"
>> *http://test.www.ncl.ucar.edu/Document/Functions/Built-in/linmsg_n.shtml*
>> <http://test.www.ncl.ucar.edu/Document/Functions/Built-in/linmsg_n.shtml>
>>
>> If in some cases you have* 0 *files then the derived values are just
>> place holders.
>>
>> On Thu, Aug 1, 2019 at 12:57 AM Ipsita Putatunda via ncl-talk <
>> ncl-talk at ucar.edu> wrote:
>>
>>> Dear NCl users,
>>> I have hourly files, which I want to convert in 3 hourly files by
>>> averaging. But for everyday the hourly files are not continuous, and there
>>> are some missing hourly files. That is why the number of files present in
>>> each three hours is varying from 0 to 3. Hence using systemfunc function is
>>> giving error, where there are missing files.
>>> Can anyone please suggest me how can I get a 3 hourly average in this
>>> case.
>>>
>>> Thanks in advance,
>>> Ipsita
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>> _______________________________________________
> 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/20190801/f60e53ca/attachment.html>


More information about the ncl-talk mailing list