<div dir="ltr">I think I figured out the issue. I forgot to remove (w) when reading in the other files. When I deleted it after reading in the data, I no longer got the issue.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 12:10 PM, David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
<br>
The fact that the "statistical_process_duration" is 0 suggests that<br>
NCL is getting confused by these files in some way. Can you make your<br>
files available? I would like to be able to run your script to see<br>
what is going on. Possibly it is something that is already fixed in<br>
the development version, but I will need to take a look.<br>
<br>
Instructions for uploading are on the Support->Report Bugs page that<br>
you can get to from the NCL web site. Be sure to let me know (offline)<br>
the names of all the files. Thanks.<br>
-dave<br>
<div><div class="h5"><br>
<br>
<br>
On Wed, Jun 15, 2016 at 12:00 PM, Andrew Kren - NOAA Affiliate<br>
<<a href="mailto:andrew.kren@noaa.gov">andrew.kren@noaa.gov</a>> wrote:<br>
> Dear NCL-Talk,<br>
><br>
> I am reading in several grib files using addfiles. The data is 4x daily data<br>
> climatology on a 181x360 lat/lon grid (36 times when adding them all<br>
> together). I can successfully read in the data using addles, but when I try<br>
> to print out a section of the data, it comes up with a segmentation fault,<br>
> before my exit command. Below is what it prints out with printVarSummary. I<br>
> don't think my data is too large but maybe that is the issue?<br>
><br>
> Variable: mslp_climo<br>
><br>
> Type: float<br>
><br>
> Total Size: 9383040 bytes<br>
><br>
> 2345760 values<br>
><br>
> Number of Dimensions: 3<br>
><br>
> Dimensions and sizes: [initial_time0_hours | 36] x [lat_3 | 181] x [lon_3 |<br>
> 360]<br>
><br>
> Coordinates:<br>
><br>
> initial_time0_hours: [1394976..1395186]<br>
><br>
> lat_3: [90..-90]<br>
><br>
> lon_3: [ 0..359]<br>
><br>
> Number Of Attributes: 16<br>
><br>
> sub_center : NCEP Ensemble Products<br>
><br>
> center : US National Weather Service - NCEP (WMC)<br>
><br>
> long_name : Pressure reduced to MSL<br>
><br>
> units : Pa<br>
><br>
> _FillValue : 1e+20<br>
><br>
> level_indicator : 102<br>
><br>
> grid_number : 3<br>
><br>
> parameter_table_version : 2<br>
><br>
> parameter_number : 2<br>
><br>
> model : 62 wave triangular, 28 layer Spectral model from "Medium Range<br>
> Forecast" run<br>
><br>
> forecast_time : 0<br>
><br>
> forecast_time_units : hours<br>
><br>
> ensemble_info : low resolution control forecast<br>
><br>
> statistical_process_descriptor : climatological mean value: multiple year<br>
> averages of quantities which are themselves means over some period of time<br>
> less than a year<br>
><br>
> statistical_process_duration : 0 hours (beginning at reference time at<br>
> intervals of 1 year)<br>
><br>
> N : 40<br>
><br>
><br>
> Thanks, the ncl file is also attached.<br>
><br>
><br>
><br>
> --<br>
> Andrew Kren, PhD<br>
> Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
> NOAA ESRL Global Systems Division (Rm 3C515)<br>
> 325 Broadway, Boulder, CO 80305<br>
> (303) 497-5418<br>
><br>
</div></div>> _______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>