[ncl-talk] Model Sub-sampling
Mary Haley
haley at ucar.edu
Tue Oct 27 10:13:05 MDT 2015
Melissa,
This may not fully answer your question, but the "generate_sample_indices"
function is a simple NCL script which I've attached here. You can load it
at the top of your script with:
load "./generate_sample_indices.ncl"
NCL version 6.0.0 is over 4 years old. Is there a reason you can't upgrade?
--Mary
On Tue, Oct 27, 2015 at 8:31 AM, Melissa Lazenby <M.Lazenby at sussex.ac.uk>
wrote:
> Hi NCL Users
>
> I am trying to set up a ncl script that loops through multiple analysis in
> which the 39-model ensemble is sub-sampled according to:
>
> (i) random selection of models. I.e. Repeatedly sample sub-samples of
> varying size i.e. 5, 10, 15, 20, 25, 30, 35 models using a random
> selection. So I want to construct a random sample of 10 models, 50 times
> and a random sample of 15 models 50 times. Derive the mean, median,
> standard deviation, IQR and range of the dP each time. Plot the mean SD of
> dP over the 50 samples as a function of number of models in sample size
> (I.e. 5, 10, 15, 20…35) on the X axis and the mean SD of the dP on the Y
> axis. And do the same for mean, Inter quartile range and range
>
> (ii) various combinations of performance metrics using a selection of 5,
> 10, 15, 25, 30 35 models same as above
>
> If you could direct me as to which function I could use to generate the
> random model selection that would be most helpful.
>
> I only have NCL version 6.0.0 and therefore cannot use the
> generate_sample_indices function.
>
> Many thanks!
>
> Kindest Regards
> Melissa
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151027/a483fb12/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generate_sample_indices.ncl
Type: application/octet-stream
Size: 1098 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151027/a483fb12/attachment.obj
More information about the ncl-talk
mailing list