[ncl-talk] addfiles

David Bailey dbailey at ucar.edu
Wed May 10 16:18:59 MDT 2017


The glade file system is a mess right now. Besides, why are you still
answering ncl-talk emails Dennis? :)

Dave

On Wed, May 10, 2017 at 4:17 PM, Dennis Shea <shea at ucar.edu> wrote:

> Hi Laura
>
> I tried to look at this but:
>
> %> cp /glade2/scratch2/laura/MPAS.hwt2017/2017042900 <(201)%20704-2900>
> /plots/correct.fr_icepath.ncl .
>
> cp: cannot stat `/glade2/scratch2/laura/MPAS.hwt2017/2017042900
> <(201)%20704-2900>/plots/correct.fr_icepath.ncl': Stale file handle
>
> Perhaps you solved the issue?
>
> Cheers
> D
>
> On Wed, May 3, 2017 at 4:39 PM, Laura Fowler <laura at ucar.edu> wrote:
>
>> Hello:
>>
>> I am reading the variable fr from a series of files using addfiles.
>> All the files have the same file size.
>>
>> fr = f[:]->ice_path_flashrate
>>
>> Variable: fr
>> Type: float
>> Total Size: 3140223944 bytes
>>             785055986 values
>> Number of Dimensions: 2
>> Dimensions and sizes: [Time | 121] x [nCells | 6488066]
>> Coordinates:
>> Number Of Attributes: 2
>>   units : fl. mn^{-1}
>>   long_name : Lightning flash rate as function of ice water path
>>
>> I modify the variable fr and I want to write the modified variable
>> back to each file. This does not seem to work. I tried:
>>
>> f[:]->ice_path_flashrate = fr
>>
>> The original sourcecode can be found in
>> /glade2/scratch2/laura/MPAS.hwt2017/2017042900/plots/
>> correct.fr_icepath.ncl
>>
>> A hint would be greatly appreciated,
>> Thanks,
>> Laura
>>
>>
>>
>> --
>> !-----------------------------------------------------------
>> --------------------------------------------------
>> Laura D. Fowler
>> Mesoscale and Microscale Meteorology Division (MMM)
>> National Center for Atmospheric Research
>> P.O. Box 3000, Boulder CO 80307-3000
>>
>> e-mail: laura at ucar.edu
>> phone: 303-497-1628
>>
>> !-----------------------------------------------------------
>> --------------------------------------------------
>> _______________________________________________
>> 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
>
>


-- 

David A Bailey
 email: dbailey_at_ucar.edu
National Center for Atmospheric Research   phone: 303-497-1737
PO Box 3000
fax  : 303-497-1700
Boulder, CO 80307-3000
                   http://www.cgd.ucar.edu/staff/dbailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170510/f78d0bee/attachment.html 


More information about the ncl-talk mailing list