Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi,I use python netCDF4 module to read a netCDF file. One of the attributes of the variables in the netCDF file is called "filters", and this conflicts with the built-in method of the variable object of netCDF4 module. It looks like this attribute is ignored when netCDF4 load my file, and I'm unable to access my "filters" attribute. Anyone might have an idea how to deal with this? Thanks.Jianfu Pan
Jianfu: If 'var' is your variable object, you can do var.getncattr('filters') instead of var.filters and you will get the netcdf attribute instead of the filters method. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@xxxxxxxx 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
netcdfgroup
archives: