NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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: