[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #LGT-977137]: reading DEM files with time-stamp

Hi Tyn-

> Thanks, I'll consider the jython-route. If we were to add this functionality 
> in JAVA, where would Willem have to look (which lines in the source code 
> related to the Data Chooser) or would it be better to add this using the 
> plug-in architecture?

It would be in ucar.unidata.data.gis.DemDataSource in the makeDemData method.  
He could add a property (e.g. useFilenameForTime) and add set/get methods for 
that. Then you could create a custom datasource.xml which would have that 
property set to true and you could include that as a plugin.


> -----Original Message-----
> From: Unidata IDV Support [mailto:address@hidden
> Sent: Tuesday, January 26, 2010 4:15 PM
> To: Valentijn Venus
> Cc: address@hidden
> Subject: [IDV #LGT-977137]: reading DEM files with time-stamp
> Hi Tyn-
> > Full Name: Valentijn Venus
> > Email Address: address@hidden
> > Organization: ITC
> > Package Version: 2.8 build date:2010-01-22 08:07 UTC
> > Operating System: Linux
> > Hardware: Java: home: /usr/local/lib/jvm/jre1.6.0_18 version: 1.6.0_18-ea 
> > j3d:1.5.1 fcs (build6)
> > Description of problem: Hi-
> >
> > Is there any way i can read DEM files with time-dimension using the string 
> > of a file-name (i.e. GLR20070301.txt)?
> >
> > Or use jython instead?
> The  existing data sources don't support that. I think Jython would be the 
> way to go.  You could create the data source and then parse the file name to 
> get the time and create a time sequence from the data and the time.
> Don Murray
> Ticket Details
> ===================
> Ticket ID: LGT-977137
> Department: Support IDV
> Priority: Normal
> Status: Open
> Faculty of Geo-Information Science and Earth Observation (ITC)
> University of Twente
> E-mail disclaimer
> The information in this e-mail, including any attachments, is intended for 
> the addressee only. If you are not the intended recipient, you are hereby 
> notified that any disclosure, copying, distribution or action in relation to 
> the content of this information is strictly prohibited. If you have received 
> this e-mail by mistake, please delete the message and any attachment and 
> inform the sender by return e-mail. ITC accepts no liability for any error or 
> omission in the message content or for damage of any kind that may arise as a 
> result of e-mail transmission.

Ticket Details
Ticket ID: LGT-977137
Department: Support IDV
Priority: Normal
Status: Open

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.