Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

lnd_averages and lnd_diagnostics post-processing on derecho

renatob

Renato Braghiere
New Member
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:

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.
 

slevis

Moderator
This may relate to the fact that the land diagnostic package has not been ported to derecho and to casper as stated here:

@oleson pls correct me if I'm wrong.
 
Top