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

[netCDF #GKA-285302]: netCDF General - nc_get_var_type or nc_get_varm_type

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 #GKA-285302]: netCDF General - nc_get_var_type or nc_get_varm_type
  • Date: Tue, 03 Apr 2007 11:11:14 -0600

Edin,

I think there may be a way to do what you originally wanted, to read
data into your array of structs using the nc_get_varm_ calls, but I
don't think it would necessarily be more efficient than reading the
data into an array and copying it into the structs.  If you still want
help to try using the imap vector and the nc_get_varm calls, I would
need a copy of your work.nc data file to test if I could get it
working here before explaining how to do it.

--Russ

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



Ticket Details
===================
Ticket ID: GKA-285302
Department: Support netCDF
Priority: Normal
Status: Closed