NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
Ed, > What should be the default fill value of an unsigned int in f90, given > that there are no unsigned types in F90? > > As F90 users, what would you like to do with a file which contains > unsigned ints? Read them into a larger type? > > What about 64-bit unsigned ints? Can F90 make any use of such data? > > Any input appreciated, from any Fortran user... I think you should use -1 in the parameter statements for nf90_fill_ubyte, nf90_fill_ushort, and nf90_fill_uint. That's the same value that actually gets assigned using the typeless hexadecimal constants Z'FF', Z'FFFF', and Z'FFFFFFFF', which are technically outside the range of signed ints (hence the error message). So -1 gives you the same value without the errors and it's portable. --Russ ============================================================================== To unsubscribe netcdf-hdf, visit: http://www.unidata.ucar.edu/mailing-list-delete-form.html ==============================================================================
netcdf-hdf
archives: