clmDayTLLL

From: <Duy.Cai_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 06 2012 - 08:32:37 MDT

Hello everybody,
in the following I just copied some lines of the description of clmDayTLLL function from the website:
*********************************
clmDayTLLL

Calculates long term daily means (daily climatology) from daily data.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl<http://www.ncl.ucar.edu/Document/Functions/Contributed/contrib.shtml>"

        function clmDayTLLL (
                x [*][*][*][*] : float or double,
                yyyyddd [*] : integer
        )

        return_val<http://www.ncl.ucar.edu/Document/Functions/return_val.shtml> [366][*][*] : typeof<http://www.ncl.ucar.edu/Document/Functions/Built-in/typeof.shtml>(x)

To my opinion the return value should have 4dimensions (return_val [366] [*] [*] [*]) .
Furthermore my output of function clmDayTLLL seems to be buggy.
My code looks something like that:
....
....
test!0 = "time"
test&time = time
test!1 = "lev"
test&lev = lev
test!2 = "lat"
test&lat = lat
test!3 = "lon"
test&lon = lon

 hClmDay = clmDayTLLL(test, yyyyddd) ; daily climatology at each grid point

 printVarSummary(test)
 printVarSummary(hClmDay)

______
and the output gives:
Variable: test
Dimensions and sizes: [time | a] x [lev | b] x [lat | c] x [lon | d]
....

Variable: hClmDay
Dimensions and sizes: [lev | 366] x [ b] x [lat | c] x [lon | d]

Somehow the variables time and lev are switched? Has anybody experienced something equivalent?
Best Regards!
Duy
--------------------------------------------------------------------
Duy Sinh Cai
Phd Student

German Aerospace Center (DLR)
Institute for Atmospheric Physics
Oberpfaffenhofen, D-82234 Wessling, Germany

phone: +49-8153-28-2559
e-mail: duy.cai@dlr.de

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 6 08:32:56 2012

This archive was generated by hypermail 2.1.8 : Mon Jul 09 2012 - 10:45:32 MDT