Open karlmsmith opened 6 years ago
Comment by @noaaroland on 15 May 2010 02:13 UTC In the V6 UI you could put whatever junk you wanted into the time axis if it only had one time step because the UI would just eliminate it from the interface. For now I'm just leaving the axis out of the definition since all components can deal with the fact that it is missing. r5198.
Comment by steven.c.hankin on 17 May 2010 18:30 UTC Some perspectives:
It is commonly the case that the single point time axis in the file is the only documentation that places the dataset at its position in time. (Unless you rely on the filename. Ouch!). On the other hand what the heck is the intent of the single point time axis of an annual-averaged dataset? That's an odd duck.
The code at r5198 that has been removed looks on-target for most situations. A time widget that displays only the single time -- offering no real choice to the user -- seems like right-on behavior.
An alternative fix to the 55198 change would be:
Comment by @noaaroland on 24 May 2010 14:04 UTC Agreed that eliminating the time data if it's the only metadata that tells the user the time stamp of the data is not ideal. And giving the user a Hobson's choice for the date is not effective either. So I'm reopening this ticket so we can consider coding up some of the points in the comments.
addXML knows how to process such a time axis (climatological axis with a date in the middle of the year). The UI does not. We could change the code in addXML to eliminate the time axis with a single step only in the case where the axis is climatological leaving the Hobson's choice in the UI to document what time axis is being used.
Modified by @noaaroland on 6 Jan 2011 18:45 UTC
Reported by @kevin-obrien on 14 May 2010 19:39 UTC I'm noticing a problem in the v7.1.1 UI in regards to some Annual world ocean atlas data that I'm trying to configure. Basically, addXML creates a time axis (example below), that for some reason the las v7.1.1 UI doesn't seem to understand. This problem was solved in the NVODS server by simply removing any references to the time axis for the grid definition of the particular variable. I can accomplish the same thing for the UAF server, but it seems like this should be reported as an error.
Thing is, I'm not sure if the error is in addXML or the UI (which is why I set Roland as owner and cc'd Jeremy). The UI doesn't throw any error messages that I'm aware, it just doesn't understand the dates, I guess, so won't actually do anything with the particular data.
Here's a specific example: Running this addXML command:
Creates this las config XML:
The time axis, I ''guess'', is wrong above. Since this is an annual average, there is only one step - but the UI seems to be confused, I'm guessing, with the units of DAYS - I'm not really sure where the disconnect is, actually...
As I said above, the work around for this for me is to remove the time axis so the grid definition looks like:
But this shouldn't have to be a manual process in general, I don't think....
Migrated-From: http://dunkel.pmel.noaa.gov/trac/las/ticket/792