<div dir="ltr">the error message:<div><br></div><div><div>fatal:dim_pqsort: one or more input dimensions sizes are greater than INT_MAX</div><div>^Mfatal:["Execute.c":8640]:Execute: Error occurred at or near line 294 in file omega3d_pdf_samples.ncl</div></div><div><br></div><div>A snippet of the code:</div><div><br></div><div><div>     dtcond1d = ndtooned(DTCOND)</div><div>     delete(DTCOND)</div><div>     npts = dimsizes(dtcond1d)</div><div>     kflag=2</div><div>     ip = dim_pqsort(dtcond1d,kflag)</div><div><br></div><div>     ;;95th</div><div>     tmp = npts*0.95</div><div>     iptf = tointeger(floor(tmp))</div><div>     dtlimhi(2) = dtcond1d(iptf)</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 20, 2017 at 4:17 PM, Kevin Hallock <span dir="ltr"><<a href="mailto:hallock@ucar.edu" target="_blank">hallock@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 Adam,<br>
<br>
Could you please copy and paste the full error message you’re seeing?<br>
<br>
Also, would you mind sharing a copy of your script? It might help diagnose the issue.<br>
<br>
Thanks,<br>
Kevin<br>
<div><div class="h5"><br>
> On Oct 20, 2017, at 3:49 PM, Adam Herrington <<a href="mailto:adam.herrington@stonybrook.edu">adam.herrington@stonybrook.<wbr>edu</a>> wrote:<br>
><br>
> I am trying to sort with the function 'dim_pqsort', but my array is too large. I get an error saying that 1 or more dimensions is larger than INT_MAX.<br>
><br>
> If anyone has a solution to this problem, I'm all ears.<br>
><br>
> My thinking is that I can create an array of sample indices through 'generate_sample_indices', and make the number of sample indices = INT_MAX. Does anyone know how large INT_MAX is ?<br>
><br>
> Adam Herrington<br>
</div></div>> ______________________________<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>
<br>
</blockquote></div><br></div>