Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Why?

On Wed, 15 Dec 1999, Eugene Tan wrote:

> OK...I've tried using Gridded1DSet with the following constructor:
> 
> //field1 is a FieldImpl with FunctionType (Real): 
> //(Time) -> (MinTemp, MaxTemp)
> Gridded1DSet validSet = Gridded1DSet(field1.getDomainSet().getType(),
>                                      field1.getDomainSet().getSamples(),
>                                    field1.getDomainSet().getLength());

I seem to have found the problem with the above line.
field1.getDomainSet().getType().toString() gives me "Set(time)"

Is there a way to get it to return just the string "time" because the
MathType of the domain component is "time" and not "Set(time)".

Thanks in advance.

Eug.

   _--_|\     Eugene Tan <E.Tan@xxxxxxxxxx>
  /      \    AutoTAF Project Developer 
  \_.--.*/    Bureau of Meteorology, Melbourne, VIC 3001, Australia
        v     Telephone: +613 9669 4652



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690