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.
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 isstandard_parallel - There may be 1 or 2 values. If there is only one value, then the value is written asLambert_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