I am currently using version 8.5.1 of ANADDB and want to try to use the NetCDF files to visualize my data with ABIPY. However, opening the NetCDF file in ABIPY results in an error message. When I was looking into this, I discovered that my NetCDF files produced by ANADDB are structured, but the information in almost every array (?) within the NetCDF file is a very large negative number.
For instance, I have a NetCDF file that I tried to open with the following python code snippet (note that NetCDF files can not be attached (I assume because they are too big?). I can email it to anyone who wants it)
Code: Select all
from netCDF4 import Dataset
nc_file = 'mos2_PHBST.nc'
fh = Dataset(nc_file,mode='r')
fh.variables['atom_species'][:]
The result of this code is...
Code: Select all
array([-2147483647, -2147483647, -2147483647, ..., -2147483647,
-2147483647, -2147483647], dtype=int32)
Is there something compiled wrong with ANADDB that causes the netcdf file to be filled with negative numbers? Or, is it something within ANADDB itself?