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

[netCDF #XDD-271000]: nf90_put_att with LOGICAL attribute

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.


  • Subject: [netCDF #XDD-271000]: nf90_put_att with LOGICAL attribute
  • Date: Mon, 07 Jul 2008 16:26:49 -0600

Hi David,

The error is correct, there is no API for putting a logical value in a netCDF
attribute (or a variable either).  The twelve netCDF primitive types do not
include logical:

  http://www.unidata.ucar.edu/software/netcdf/docs/netcdf.html#External-Types

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: XDD-271000
Department: Support netCDF
Priority: Normal
Status: Closed