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

[netCDF #YYH-497732]: reading netcdf-4 ushort variables in Fortran

Addendum: it looks like the function nc_get_var_short is defined
in the file module_netcdf_nc_interfaces.f90_
You should be able to use that if you are willing to convert
the resulting signed shorts to unsigned.
Alternatively, you might be able to use nc_get_var_int which
if applied to a ushort variable should give the proper result
as a 4-byte integer.

=Dennis Heimbigner

Ticket Details
Ticket ID: YYH-497732
Department: Support netCDF
Priority: Normal
Status: Closed