[Thread Prev][Thread Next][Index]

Re: [las_users] Date display in LAS 7.3 for dataset with Seasonal_reg time axis



Penny,

Something like this will work:

    <SEASONAL_REG-t-id-5ac9582d22 type="t" modulo="true" units="month">
         <v label="Winter">15-Feb</v>
         <v label="Spring">16-May</v>
         <v label="Summer">16-Aug</v>
         <v label="Fall">15-Nov</v>
  </SEASONAL_REG-t-id-5ac9582d22>


Roland

On Wed, Aug 8, 2012 at 3:32 PM, Oots, Penny C. (LARC-E301)[SCIENCE SYSTEMS AND APPLICATIONS, INC] <penny.c.oots@xxxxxxxx> wrote:
Using Ferret 6.72, I created a seasonal climatology netcdf file using the seasonal_reg axis.  The resulting file contains four time values and addXML created an XML file with the following
    <SEASONAL_REG-t-id-5ac9582d22 type="t" modulo="true" units="month">
    <arange start="0000-02-15 15:43:39" size="4" step="3" />
  </SEASONAL_REG-t-id-5ac9582d22>
 
Ncdump shows the values as SEASONAL_REG = 1095.7275, 3287.1825, 5478.6375, 7670.0925 ;
 
This displays dates from Feb to Nov on the screen in the dropdown date box.  I removed the ‘modulo=”true”’ clause but it did not change the display.  I tried using <v>Winter</v>,<v>Spring</v>, etc. which produced a nice dropdown but got an error when trying to produce a plot. 
 
How do I get a date dropdown with just 4 values for this file? 
 
Penny Oots
 
dimensions:
        LONGITUDE = 72 ;
        LATITUDE = 85 ;
        SEASONAL_REG = UNLIMITED ; // (4 currently)
variables:
        double LONGITUDE(LONGITUDE) ;
                LONGITUDE:long_name = "longitude" ;
                LONGITUDE:units = "degrees_east" ;
                LONGITUDE:modulo = 360. ;
                LONGITUDE:point_spacing = "even" ;
                LONGITUDE:axis = "X" ;
        double LATITUDE(LATITUDE) ;
                LATITUDE:long_name = "latitude" ;
                LATITUDE:units = "degrees_north" ;
                LATITUDE:point_spacing = "even" ;
                LATITUDE:axis = "Y" ;
        double SEASONAL_REG(SEASONAL_REG) ;
                SEASONAL_REG:units = "HOURS since 0000-01-01 00:00:00" ;
                SEASONAL_REG:time_origin = "01-JAN-0000 00:00:00" ;
                SEASONAL_REG:modulo = " " ;
                SEASONAL_REG:axis = "T" ;
        float AOD_CLOUD_FREE_MEAN_CLIMATOLOGY(SEASONAL_REG, LATITUDE, LONGITUDE) ;
                AOD_CLOUD_FREE_MEAN_CLIMATOLOGY:missing_value = -9999.f ;
                AOD_CLOUD_FREE_MEAN_CLIMATOLOGY:_FillValue = -9999.f ;
                AOD_CLOUD_FREE_MEAN_CLIMATOLOGY:long_name = "Mean Aerosol Optical Depth, Cloud-free Climatology" ;
                AOD_CLOUD_FREE_MEAN_CLIMATOLOGY:units = "unitless" ;
                AOD_CLOUD_FREE_MEAN_CLIMATOLOGY:history = "From CAL_06_11_Day" ;
 
Etc…
 


[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement