<div dir="ltr"><div><div>Hi Laura, <br><br></div>Where does this question stand? I just looked at the code in correct.fr_icepath.ncl, and it doesn't seem to match up with what you described, so I wonder if perhaps you found an alternative solution?<br><br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 4:39 PM, Laura Fowler <span dir="ltr"><<a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello:<br>
<br>
I am reading the variable fr from a series of files using addfiles.<br>
All the files have the same file size.<br>
<br>
fr = f[:]->ice_path_flashrate<br>
<br>
Variable: fr<br>
Type: float<br>
Total Size: 3140223944 bytes<br>
785055986 values<br>
Number of Dimensions: 2<br>
Dimensions and sizes: [Time | 121] x [nCells | 6488066]<br>
Coordinates:<br>
Number Of Attributes: 2<br>
units : fl. mn^{-1}<br>
long_name : Lightning flash rate as function of ice water path<br>
<br>
I modify the variable fr and I want to write the modified variable<br>
back to each file. This does not seem to work. I tried:<br>
<br>
f[:]->ice_path_flashrate = fr<br>
<br>
The original sourcecode can be found in<br>
/glade2/scratch2/laura/MPAS.<wbr>hwt2017/<a href="tel:2017042900" value="+12017042900">2017042900</a>/plots/correct.fr_<wbr>icepath.ncl<br>
<br>
A hint would be greatly appreciated,<br>
Thanks,<br>
Laura<br>
<br>
<br>
<br>
--<br>
!-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------<br>
Laura D. Fowler<br>
Mesoscale and Microscale Meteorology Division (MMM)<br>
National Center for Atmospheric Research<br>
P.O. Box 3000, Boulder CO 80307-3000<br>
<br>
e-mail: <a href="mailto:laura@ucar.edu">laura@ucar.edu</a><br>
phone: <a href="tel:303-497-1628" value="+13034971628">303-497-1628</a><br>
<br>
!-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>