[gradsusr] Segmentation fault using wrf data

Jeff Duda jeffduda319 at gmail.com
Mon Jul 28 16:09:21 EDT 2014


I would check to see if your script variable _analysis is being properly
assigned.  If it is being given a non-time value, that could indirectly
cause the segmentation fault.

Also you have an error in this line:
'draw string 7.5 8.0' _analysis

Put a space between 8.0 and the single quote (i.e., 'draw string 7.5 8.0 '
_analysis)

I see other oddities in your code, but nothing that would seem to outright
cause a segmentation fault.  You might want to check the validity of the
data by just plainly displaying the co field without running your script.
Just open grads, open your control file, and 'd co' at a few vertical
levels and time slices to see if the data exists and is okay.

Jeff Duda



On Mon, Jul 28, 2014 at 2:52 PM, Jonathan Wynn Smith <jwsmith9 at gmail.com>
wrote:

> Hello
>
> 1)  This is a wrfout file with 100 aerosol and chemical variables (o3, co,
> ch4, etc...).  There are 33 vertical levels.  It has a 12 km resolution
> (600 x 365)  and 24 time steps.  It is 65 GB.
> 2) the .ctl file is attached
> 3) co_sequence.gs is attached
>
> 4) output to include error:
>
> co_sequence.gs
> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> SET error: Invalid operand
>   Operand = mapdraw on
> Error opening script file: rgbset.gs
> Create gif images as well (1=yes ; 0=no)
>
> Test Control Simulation CO (ppbv) Time is 00Z08APR2010
> DRAW error: Syntax is DRAW STRING x y string
>
> Test Control Simulation CO (ppbv) Time is 01Z08APR2010
> DRAW error: Syntax is DRAW STRING x y string
>
>
> Test Control Simulation CO (ppbv) Time is 02Z08APR2010
> Segmentation fault
>
>
>
> On Mon, Jul 28, 2014 at 3:44 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> To help you we need more information
>> 1) on the data file you're using (what arrays are in it? what format? how
>> large is the file? is it split output?)
>> 2) the control file
>> 3) the code you are using to make the sequence
>> 4) the full output from Grads when the error occurs
>>
>> Jeff Duda
>>
>>
>> On Mon, Jul 28, 2014 at 2:23 PM, Jonathan Wynn Smith <jwsmith9 at gmail.com>
>> wrote:
>>
>>> Good afternoon:
>>>
>>> I have 24 hours of WRF-Chem output run through ARWpost.  I am plotting
>>> co (carbon monoxide) in a sequence to save time.  At level 1000 hPa, in the
>>> 3rd iteration of the script, I get the following error message:
>>>
>>> Test Control Simulation CO (ppbv) Time is 02Z08APR2010
>>> Segmentation fault
>>>
>>>
>>> When I move up to level 800 hPa I get 5 iterations before the
>>> Segmentation fault.
>>>
>>> Do I need another version of grads?  How can I get rid of this
>>> Segmentation fault?
>>>
>>> Jonathan
>>> --
>>> *Jonathan Wynn Smith, Ph.D.*
>>> jonathan.smith at noaa.gov
>>> 301-683-0500
>>> Postdoctoral Research Associate
>>> National Academy of Science/National Research Council Associateship
>>> NOAA/NESDIS/STAR/SMCD, #2844
>>> 5830 University Research Ct.
>>> College Park, MD 20740-3818
>>>
>>>
>>> *Lord, you establish peace for us; all that we have accomplished you
>>> have done for us. - Isaiah 26:12*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> *Jonathan Wynn Smith, Ph.D.*
> jonathan.smith at noaa.gov
> 301-683-0500
> Postdoctoral Research Associate
> National Academy of Science/National Research Council Associateship
> NOAA/NESDIS/STAR/SMCD, #2844
> 5830 University Research Ct.
> College Park, MD 20740-3818
>
>
> *Lord, you establish peace for us; all that we have accomplished you have
> done for us. - Isaiah 26:12*
>
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140728/759f98c0/attachment.html 


More information about the gradsusr mailing list