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

Re: questions regarding udunits



Hi Noman,

I think you want the (currently beta) UDUNITS-2 package, linked from
here:

  http://www.unidata.ucar.edu/software/udunits/

It has support for non-English locales.  I'm CC:ing the support-udunits
address to get an answer your time question.

I'll answer the non-udunits questions in a subsequent response.

--Russ


> This is a multi-part message in MIME format.
> 
> ------_=_NextPart_001_01C89E75.DC6CA473
> Content-Type: text/plain;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> 
> Russ/John,
> 
> We are currently using udunits library ver. 1.12.4, compiled and linked
> locally with Visual C++ .NET 2003. We call into their C API with higher
> level C++ and COM functions. The API is being used as explained in
> unidata's udunits manual pages. We use it on multiple platforms.
> 
> Some of the questions we have at this point are:=20
> 1.    Does the present version of udunits we are using, support
> non-English locales such as German, Chinese etc.? If so, why does it not
> work for us? Do we need to do anything special?
> 2.    If multiple locales are not supported in the present version,
> are there any plans to support this in future versions?
> 3.    When we use the library API with different time variable types
> (ex:, float vs double) having the same value, are we going to see a
> change in precision? We are getting back slightly different dates when
> the time variable types are of different type.
> 
> Other questions:
> 1.    Is it possible to have a variable (for station data) where char
> type is used as a dimension? You have any example?
> 2.    For gridded data, I believe there is an attribute to specify
> whether the location is cell center or not. What is that attribute and
> acceptable values? Is this attribute CF complainant?
> 
> Thanks,
> Noman
> 
> -----Original Message-----
> From: Russ Rew [mailto:address@hidden]=20
> Sent: Monday, April 07, 2008 3:35 PM
> To: Steve Kopp
> Cc: address@hidden; address@hidden; address@hidden; Nawajish
> Noman
> Subject:=20
> 
> Hi Steve,
> 
> John Caron forwarded your note to me and Ed Hartnett:
> > I'm going to be in town Tuesday afternoon and have a little time. We
> are
> > looking at including netCDF 4 in ArcGIS 9.4, which will be begin
> > development on in the next month or so, and are looking to be feature
> > complete in Q3 or early Q4 2008. Would it be useful/possible to get
> > together for an hour or so in the early afternoon?
> 
> John probably won't be able to meet early tomorrow afternoon, and Ed may
> be jet-lagged after returning from Europe, but I'm available.  I've
> tentatively set up a 1:30pm meeting in our small meeting room for you,
> me, Ed (if available), and Dennis (a new developer who might be able to
> attend to learn more about use of netCDF in ESRI software).  I could
> move the meeting to 1:00pm in case you need to leave earlier ...
> 
> --Russ
> _____________________________________________________________________
> 
> Russ Rew                                         UCAR Unidata Program
> address@hidden                     http://www.unidata.ucar.edu
> 
> 
> ------_=_NextPart_001_01C89E75.DC6CA473
> Content-Type: text/html;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Dus-ascii">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 6.5.7652.24">
> <TITLE>questions regarding udunits</TITLE>
</HEAD>
> <BODY>
> <!-- Converted from text/rtf format -->
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">Russ/John,</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">We are =
> currently using udunits library ver. 1.12.4, compiled and linked locally =
> with Visual C++ .NET 2003. We call into their C API with higher level =
> C++ and COM functions. The API is being used as explained in =
> unidata&#8217;s udunits manual pages. We use it on multiple =
> platforms.</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">Some =
> of the questions we have at this point are: </FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Verdana">Does the present version of udunits we are using, =
> support</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Verdana">non-English</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
> SIZE=3D2 FACE=3D"Verdana"> locales</FONT></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana"> such as German, Chinese =
> etc.</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">? =
> If so, why does it not work for us?</FONT></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana"> Do we need to do =
> anything special?</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">If multiple locales are =
> not supported in the present version, are there any plans to support =
> this in future versions?</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <FONT SIZE=3D2 =
> FACE=3D"Verdana">When we use the library API with different time =
> variable types (ex:, float vs double) having the same value, are we =
> going to see a change in precision?</FONT></SPAN><SPAN =
> LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana"> We are getting =
> back</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Verdana">slightly</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
> SIZE=3D2 FACE=3D"Verdana"> different dates</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">when the time variable =
> types are of different type.</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">Other =
> questions:</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">Is it possible to have a =
> variable (for station data) where</FONT></SPAN><SPAN LANG=3D"en-us"> =
> <FONT SIZE=3D2 FACE=3D"Verdana">char type</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">is</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">used as a =
> dimension</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">?</FONT></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana"> You have any example?</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN =
> LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Verdana">For gridded =
> data,</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Verdana">I believe there is an attribute to specify whether the =
> location is cell center or not. What is that attribute and acceptable =
> values?</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 =
> FACE=3D"Verdana">Is this attribute CF complainant?</FONT></SPAN><SPAN =
> LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">Thanks,</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">Noman</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">-----Original Message-----<BR>
> From: Russ Rew [<A =
> HREF=3D"mailto:address@hidden";>mailto:address@hidden</A>]<B=
> R>
> Sent: Monday, April 07, 2008 3:35 PM<BR>
> To: Steve Kopp<BR>
> Cc: address@hidden; address@hidden; address@hidden; Nawajish =
> Noman<BR>
> Subject:</FONT></SPAN><SPAN LANG=3D"en-us"> </SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">Hi =
> Steve,</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">John =
> Caron forwarded your note to me and Ed Hartnett:</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">&gt; =
> I'm going to be in town Tuesday afternoon and have a little time. We =
> are</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">&gt; =
> looking at including netCDF 4 in ArcGIS 9.4, which will be =
> begin</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">&gt; =
> development on in the next month or so, and are looking to be =
> feature</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">&gt; =
> complete in Q3 or early Q4 2008. Would it be useful/possible to =
> get</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">&gt; =
> together for an hour or so in the early afternoon?</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">John =
> probably won't be able to meet early tomorrow afternoon, and Ed =
> may</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">be =
> jet-lagged after returning from Europe, but I'm available.&nbsp; =
> I've</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">tentatively set up a 1:30pm meeting in our small =
> meeting room for you,</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">me, Ed =
> (if available), and Dennis (a new developer who might be able =
> to</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">attend =
> to learn more about use of netCDF in ESRI software).&nbsp; I =
> could</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">move =
> the meeting to 1:00pm in case you need to leave earlier =
> ...</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">--Russ</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">________________________________________________________=
> _____________</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Verdana">Russ =
> Rew&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
> p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp;&nbsp;&nbsp; UCAR Unidata Program</FONT></SPAN></P>
> 
> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 =
> FACE=3D"Verdana">address@hidden&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp; <A =
> HREF=3D"http://www.unidata.ucar.edu";>http://www.unidata.ucar.edu</A></FON=
> T></SPAN></P>
> 
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C89E75.DC6CA473--