[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
- Subject: [netCDF #GKA-285302]: netCDF General - nc_get_var_type or nc_get_varm_type
- Date: Tue, 03 Apr 2007 16:56:40 -0600
Edin,
It's probably obvious to you, but for the record and because others
may find this response later, I should have added that the number "5"
that appears in
int imap[2] = {5*Gate_length, 5};
should instead be calculated based on something like
(* NetCDF_out)[0][1].Refl - (* NetCDF_out)[0][0].Refl
so you can generalize this solution to any kind of structure and make
it portable to work for the structure padding and alignment contraints
of different platforms.
--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