Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: standard_parallel - There may be 1 or 2 values.



Nawajish Noman wrote:


Hi Russ/John,

Happy New Year.

Okay I am back with another grid_mapping question. According to the CF conventions the standard parallel parameter for Albers equal area and Lambert conformal is

standard_parallel - There may be 1 or 2 values.

If there is only one value, then the value is written as

Lambert_Conformal:standard_parallel = 25.0;
How do we write two standard parallel values?

HiNoman:

attributes can take arrays as values, so that would look like
 Lambert_Conformal:standard_parallel = 25.0, 40.0;

In Java you can use:

public void addVariableAttribute(String varName, String attName, Array value)

theres a similar call in C.



Thanks,

Noman



  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: