Re: Composites

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 6 Feb 2006 18:10:31 -0700 (MST)

>I should be grateful if someone could point me to an example in which
>composite maps (or anomaly plots) are made in NCL. For example, making a
>composite of El Nino events. The events are of different duration.

The question is rather vague. For sure, there are no built
in functions for events of different duration

If you need events of different duration [ie, custom events],
I think you have to build them yourself.

Consider a netCDF file with a variable x(time,lat,lon)
and time has units [say, yyyymm] then you could

   event_times = (/198210, 198211, 198212, 198301, ..., 198304 \
                   ,198704,198705, .... \
                   ,....... /)
                   
    x = f->X
    xEvents = x({event_times},{-20:20},{140:270})
    
or you could read directly from a file:

    x = f->X{event_times},{-20:20},{140:270})
    
will contain just the data you want to use BUT
the compositing, well that is up to you.

good luck

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 06 2006 - 18:10:31 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 07 2006 - 16:26:24 MST