I am trying to run lnd_averages on derecho (/glade/u/home/renatob/leaf_spectra/BSSP585_control/postprocess/lnd_averages) using the npl conda environment but I get the following error:
I fixed the paths to the obs_data (/glade/campaign/cesm/community/lmwg/diag/lnd_diag_data) too. Does anyone know how to fix this? Thanks.
Python:
_FillValue attribute must be set when variable is created (using fill_value keyword to createVariable)
Traceback (most recent call last):
File "/opt/ncar/cesm_postprocessing/diagnostics/diagnostics/lnd/lnd_avg_generator.py", line 229, in callPyAverager
PyAverager.run_pyAverager(pyAveSpecifier)
File "/opt/ncar/conda/lib/python3.7/site-packages/pyaverager/PyAverager.py", line 29, in run_pyAverager
return PyAverager(spec)
File "/opt/ncar/conda/lib/python3.7/site-packages/pyaverager/PyAverager.py", line 41, in __init__
self.compute_averages(spec)
File "/opt/ncar/conda/lib/python3.7/site-packages/pyaverager/PyAverager.py", line 352, in compute_averages
collapse_dim=l_collapse_dim,
File "/opt/ncar/conda/lib/python3.7/site-packages/pyaverager/climFileIO.py", line 501, in define_ave_file
temp[mv] = create_meta_var(my_file[first_fn], mv, new_file, collapse_dim)
File "/opt/ncar/conda/lib/python3.7/site-packages/pyaverager/climFileIO.py", line 295, in create_meta_var
temp.setncattr(attr, getattr(var_hndl, attr))
File "src/netCDF4/_netCDF4.pyx", line 4135, in netCDF4._netCDF4.Variable.setncattr
AttributeError: _FillValue attribute must be set when variable is created (using fill_value keyword to createVariable)
I fixed the paths to the obs_data (/glade/campaign/cesm/community/lmwg/diag/lnd_diag_data) too. Does anyone know how to fix this? Thanks.