

AMBER Archive (2009)Subject: Re: [AMBER] bintraj and amber 10 From: Naser Alijabbari (na3m_at_virginia.edu)Date: Thu Apr 23 2009  19:37:06 CDT
Hi Chris, just going from three digit of precision to 6 digits of precision
“Trajectory files shall use 64 bit offsets
This can be accomplished by setting a flag during file creation; refer to
So I google 64 bit offset. This gives
“A 64bit offset format netCDF file can have up to 2^32  1 fixed sized
So I look up record variable:
https://www.unidata.ucar.edu/software/netcdfjava/formats/RecordsInNetcdf3.html
“In the NetCDF version 3 data model, *record variables* are ones that use
I am still not sure what “If there are no record variables in the file the
This is my float.h:
#define FLT_RADIX 2
/* Number of baseFLT_RADIX digits in the significand of a float */
#define FLT_MANT_DIG 24
/* Number of decimal digits of precision in a float */
#define FLT_DIG 6
/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: inf, 1: unknown
#define FLT_ROUNDS 1
/* Difference between 1.0 and the minimum float greater than 1.0 */
#define FLT_EPSILON 1.19209290e07F
/* Minimum int x such that FLT_RADIX**(x1) is a normalised float */
#define FLT_MIN_EXP (125)
/* Minimum normalised float */
#define FLT_MIN 1.17549435e38F
/* Minimum int x such that 10**x is a normalised float */
#define FLT_MIN_10_EXP (37)
/* Maximum int x such that FLT_RADIX**(x1) is a representable float */
#define FLT_MAX_EXP 128
/* Maximum float */
#define FLT_MAX 3.40282347e+38F
/* Maximum int x such that 10**x is a representable float */
#define FLT_MAX_10_EXP 38
/* Number of baseFLT_RADIX digits in the significand of a double */
#define DBL_MANT_DIG 53
/* Number of decimal digits of precision in a double */
#define DBL_DIG 15
/* Difference between 1.0 and the minimum double greater than 1.0 */
#define DBL_EPSILON 2.2204460492503131e16
/* Minimum int x such that FLT_RADIX**(x1) is a normalised double */
#define DBL_MIN_EXP (1021)
/* Minimum normalised double */
#define DBL_MIN 2.2250738585072014e308
/* Minimum int x such that 10**x is a normalised double */
#define DBL_MIN_10_EXP (307)
/* Maximum int x such that FLT_RADIX**(x1) is a representable double */
#define DBL_MAX_EXP 1024
/* Maximum double */
#define DBL_MAX 1.7976931348623157e+308
/* Maximum int x such that 10**x is a representable double */
#define DBL_MAX_10_EXP 308
/* Number of baseFLT_RADIX digits in the significand of a long double */
#define LDBL_MANT_DIG 64
/* Number of decimal digits of precision in a long double */
#define LDBL_DIG 18
/* Difference between 1.0 and the minimum long double greater than 1.0 */
#define LDBL_EPSILON 1.08420217248550443401e19L
/* Minimum int x such that FLT_RADIX**(x1) is a normalised long double
#define LDBL_MIN_EXP (16381)
/* Minimum normalised long double */
#define LDBL_MIN 3.36210314311209350626e4932L
/* Minimum int x such that 10**x is a normalised long double */
#define LDBL_MIN_10_EXP (4931)
/* Maximum int x such that FLT_RADIX**(x1) is a representable long
#define LDBL_MAX_EXP 16384
/* Maximum long double */
#define LDBL_MAX 1.18973149535723176502e+4932L
/* Maximum int x such that 10**x is a representable long double */
#define LDBL_MAX_10_EXP 4932
Is “float coordinates(frame, atom, spatial)” is float because of the “64 bit
On Thu, Apr 23, 2009 at 1:46 PM, Chris Moth <chris.moth_at_vanderbilt.edu>wrote:
> > Is there any way to see the precision of what is written in the netcdf
 
