[Thread Prev][Thread Next][Index]

RE: [las_users] How to correct time value being passed to Ferret from LAS



Roland,

Thanks for the work-around.  It worked as you described.  I will keep an
eye out for the announcement of the next release.

Penny

-----Original Message-----
From: Roland Schweitzer [mailto:Roland.Schweitzer@xxxxxxxx] 
Sent: Friday, August 31, 2007 12:10 PM
To: Oots, Penny C. (LARC-E301)[SCIENCE SYSTEMS & APPLICATIONS INC.]
Cc: oar.pmel.las_users@xxxxxxxx
Subject: Re: [las_users] How to correct time value being passed to
Ferret from LAS

Penny,

Oots, Penny C. (LARC-E301)[SCIENCE SYSTEMS & APPLICATIONS INC.] wrote:
> When I open a browser session and access our LAS version 6..5.1at
> http://mynasadata.larc.nasa.gov/las/servlets/dataset, then select Land
> Surface, Land Mask, and either the 1 or 2.5 degree land mask datasets,
I
> can produce a plot.  If I then produce a plot from any other dataset
> with a date that differs from the land mask dataset, I get the
following
> error:
>
>
> Illegal Limits
>
>
> Sorry ... 
>
>     There are no data available at 15-DEC-2004 00:00
>     The data begin at 30-DEC-2005 18:45 and continue to 30-JAN-2006
> 05:14
>
> Please try again with a time that lies within this range.
> Content-disposition: inline; filename=LASoutput.html Content-length:
> 2385 Content-Type: text/html; charset=ISO-8859-1
>
>  
>
> Since there is only one dataset for each land mask, an arbitrary date
> was used to create each file.  It appears that the second time I try
to
> create the land mask plot, LAS uses the date from the dataset just
> plotted.  
>
>  
>
> I tried creating an init script by copying the std_initionalize.jnl
to
> set the date to the correct (but arbitrary date), but failed to figure
> out what to enter.
>
>  
>
> Is there an easy solution to this problem (other than closing the
> browser and starting again)?  
>
>   
This is a bug.  I have a work around for you until we can get this fixed

and released.

In the data set definition for the data sets with only one fake time 
step, define the time axis using two <v> elements that contain the same 
value (the value of the fake time step).  Say the file contains one time

step at 1960-01-16 06:00:00:00, change the time axis definition to look 
like:

  <TIME-t-id-5f6c212d6d type="t" units="day" display_hi="1960-01-16 
06:00:00" display_lo="1960-01-16 06:00:00">
    <v>1960-01-16 06:00:00:00</v>
    <v>1960-01-16 06:00:00:00</v>
  </TIME-t-id-5f6c212d6d>

The display_lo and display_hi aren't working for an axis with only one 
time step, but that's what we'll fix so that you can go back to 
something like this:

<TIME-t-id-5f6c212d6d type="t" units="day" display_hi="1960-01-16 
06:00:00" display_lo="1960-01-16 06:00:00">
    <arange start="1960-01-16 06:00:00" size="1" step="1" />
  </TIME-t-id-5f6c212d6d>

and the time will set set to be in the display_hi and display_lo range 
automatically behind the scenes.

The down side is that the UI will display a time selector with this 
meaningless value, but it will guarantee that the correct time for that 
data set is always selected.

Roland
>  
>
> Penny Oots
>
>
>   




[Thread Prev][Thread Next][Index]


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

Privacy Policy | Disclaimer | Accessibility Statement