Re: ARSCAM/ARPRAM - ALGORITHM FAILURE

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 13 2013 - 14:15:21 MST

Hi Alex,

I've been able to reproduce this, and these types of bugs are notoriously difficult to find and fix.

However, I think the contouring interval is an aggravating factor in causing the bug to emerge. Looking at the data, it seems the vast majority of it is zeros, with some smallish negative integers (which the metadata suggests are flags), and the rest of it being positive integers with values less than 100. There are 14 contour intervals between 0--1. This means all the contour lines pile up extremely close together on any transition away from 0. The attached two plots show this in action; the first is the resultant contour map (produced with a debugging tool I have; ignore the aspect ratio), the second is a zoomed in view of the red-outlined area in the first.

You had a set of contours in the script that were commented out, but in the range of 0--100. I tried this and the error went away. Perhaps something closer to those will get you what you need to get past the error?

Rick

On Feb 13, 2013, at 9:16 AM, Mary Haley <haley@ucar.edu> wrote:

> HI Alex,
>
> While Rick is looking at this, you can go to our FAQ and get some help for a possible work-around:
>
> http://www.ncl.ucar.edu/FAQ/#err_msgs_013
>
> --Mary
>
> On Feb 12, 2013, at 4:40 PM, Alexander Semenov wrote:
>
>> Dear ncl-users,
>>
>> I am stuck with the ncl plotting error ContourPlotDraw: ARSCAM/ARPRAM - ALGORITHM FAILURE. I looked it up online, couldn't find any solution. I have uploaded the ncl code named SIC_SSMI.ncl and data it is reading SSMI_1979.nc to your ftp server. Thank you for helping.
>>
>> Copyright (C) 1995-2012 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 6.1.0
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> warning:gsnPolarLabelDistance is not a valid resource in SIC_SSMI_contour at this time
>> warning:gsnPolarLabelFontHeightF is not a valid resource in SIC_SSMI_contour at this time
>> fatal:ContourPlotDraw: ARSCAM/ARPRAM - ALGORITHM FAILURE
>> fatal:ContourPlotDraw: draw error
>> warning:WorkstationDeactivate: workstation not active or not opened
>>
>> --
>> regards
>>
>> *******************************************************
>> Alex Semenov
>>
>> PhD Student - Research Assistant
>> International Arctic Research Center
>> Department of atmospheric sciences
>> University of Alaska Fairbanks
>>
>> 930 Koyukuk dr, 408c3
>> Fairbanks, AK, USA, 99775
>> work phone +19074742672
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 13 14:15:34 2013

This archive was generated by hypermail 2.1.8 : Thu Feb 21 2013 - 11:26:43 MST