[ncl-talk] Removing some data from NetCDF file for a specific date
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Thu Jan 16 16:02:19 MST 2020
Please keep replies on the mailing list. I assumed that you were writing
your own application program in NCL. Is this correct, or do you just want
to make reduced files?
On Thu, Jan 16, 2020 at 5:38 AM Setareh Rahimi <setareh.rahimi at gmail.com>
wrote:
> Dear Dave,
> Many thanks for your email, and apologize for the slow reply. Well, I
> think method 2 should be fine. However, which application program do you
> suggest?
> Best wishes,
>
> On Tue, Jan 7, 2020 at 10:58 PM Dave Allured - NOAA Affiliate <
> dave.allured at noaa.gov> wrote:
>
>> I can think of at least three ways to do this.
>>
>> 1. Write a program to copy grids from a model file into a new file, but
>> skip selected dates.
>> 2. In your application program, remove the selected dates from a copy of
>> the model data in program memory.
>> 3. In your application program, read in only the dates wanted, and skip
>> the dates to be removed.
>>
>> I recommend methods 2 or 3 because they are fast and efficient, and need
>> less programming than the first method. 2 and 3 require the ability to
>> make changes to your application program. Which method fits your needs?
>>
>>
>> On Tue, Jan 7, 2020 at 1:23 AM Setareh Rahimi via ncl-talk <
>> ncl-talk at ucar.edu> wrote:
>>
>>>
>>> Dear all,
>>>
>>> I have some model outputs in the NetCDF format. I need to remove the
>>> results from the files for some specific dates (like 2008/02/04). So would
>>> you please kindly advise me how can I do so?
>>> Many thanks in advance,
>>> Best wishes,
>>> --
>>> S.Rahimi
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200116/4bf04924/attachment.html>
More information about the ncl-talk
mailing list