Re: Difference in PDF NCL and numpy

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Jun 17 2013 - 07:05:14 MDT

NCL uses simple binning.
NCL ignores _FillValue

If the array you input, eg
    pdf = pdfx(atlantic,nbin,False)

Has an _FillValue attribute associated with it it is ignored.

The code used will be sent offline.

On 6/17/13 6:46 AM, Marston Johnston wrote:
> Hi,
>
> I used NCL to calculate the PDF of rain rates over several regions in the
> Tropics.
> I was surprised by the differences I received between Python's bumpy module
> and NCL PDF. I actually think the NCL results are incorrect.
>
> I'll attach the figures: NCL = rr_pdf_per_water_land.pdf and Python:
> land_ocean.pdf
> I also attached my NCL script: total_rr_stats_regions.ncl
>
> I don't understand how NCL treats FillValues when doing statistics. One
> thing is for sure, the pdfs NCL creates are incorrect.
>
> Would appreciate some edification on this topic :-)
>
> /Marston
>
>
>
> _______________________________________________
> 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 Mon Jun 17 07:05:15 2013

This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT