line 1346:
total = asym(:,:) + sym(:,:)
I do not know what you mean by "whenever I add the symmetric and
antisymmetric parts it seems that it is also adding the argument
of the arrays"
When using whole arrays, it is more efficient to
not use the (:,:) notation, so
total = asym + sym ; (:,:)
Further, I would add
copy_VarMeta(asym, total)
total@long_name = "asym+sym"
The graphics routines are looking for this information
Try and see what happens.
====
When debugging use "printVarSummary" frequently.
====
I will help ... up to a point... That set of diagnostics was
developed for our "CAM" model hence, diagnostics_cam.ncl
It has proved fairly robust to other datasets and models
but when code is modified, I just do not have the time
to trace assorted issues.
Good Luck
On 11/17/2010 06:55 PM, Victor Torres wrote:
> Hi there,
> I've been trying to modify the diagnostics_cam.ncl script, but
> whenever I add the symmetric and antisymmetric parts it seems that it is
> also adding the argument of the arrays, hence the limits and thickmarks
> are out of actual values. (For example, zonal wavenumber going from 0 to
> 30.)
> Do you know why I'm getting this behavior?
> I attach the script. (Look at line 1346)
>
> Thanks a lot.
> Regards
> Victor Torres.
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Nov 17 19:32:44 2010
This archive was generated by hypermail 2.1.8 : Fri Nov 19 2010 - 11:51:06 MST