[ncl-talk] addfiles

Dennis Shea shea at ucar.edu
Wed May 10 16:17:17 MDT 2017


Hi Laura

I tried to look at this but:

%> cp
/glade2/scratch2/laura/MPAS.hwt2017/2017042900/plots/correct.fr_icepath.ncl
.

cp: cannot stat
`/glade2/scratch2/laura/MPAS.hwt2017/2017042900/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170510/9a741918/attachment-0001.html 


More information about the ncl-talk mailing list