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

[IDV #DJI-514542]: ISL Time Zone: Progress?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #DJI-514542]: ISL Time Zone: Progress?
  • Date: Tue, 09 Feb 2016 13:46:16 -0700

> Hello,
> 
> Last year I had asked about the possibility of allowing the user to
> specify the time zone to display within an ISL script. See ticket IDV
> #HRH-768092 and
> http://www.unidata.ucar.edu/mailing_lists/archives/idvusers/2014/msg00135.html
> for reference.
> 
> Attached is a bundle & ISL script & resulting image.  We currently run
> the product via cron on a CentOS machine which is using GMT a base
> timezone.  It would be great to be able to display EST/EDT (or any other
> timezone of choice) instead of Z time in the resulting image.
> 
> Thanks,
> Brendon
> --
> Brendon Hoch, M.S.
> Director of IT & Instrumentation
> Judd Gregg Meteorology Institute
> MSC 48, Boyd Hall 319
> Plymouth State University
> Plymouth, NH 03264
> (603)535-2818 Fax: (603)535-2723
> 
> 
Brendon,
      I chatted with your student in the AMS, and he reminded me this ticket. 
      In the latest nightly release, there is no API to change the time zone 
before capturing the image.  The syntax is very simple and easy to use. 
The attached is the isl and test bundle I created to test this new feature.

Let me know if you see any problem.  


<displayproperties 
display="class:ucar.unidata.idv.control.ContourPlanViewControl">
            <property name="DisplayListTimeZone"  value="EST"/>
  </displayproperties>
  <pause/>
<image file="${islpath}/test1.png"/>

Yuan


Ticket Details
===================
Ticket ID: DJI-514542
Department: Support IDV
Priority: Normal
Status: Closed

Attachment: test.isl
Description: Binary data

Attachment: test.xidv
Description: Binary data