I am across this error when trying to write a new NETCDF from subset of a
LARGE NETCDF file :
Traceback (most recent call last):
File "wrfextract.py", line 204, in <module>
longitude[:] = lons
File "netCDF4/_netCDF4.pyx", line 3996, in
File "netCDF4/_netCDF4.pyx", line 4208, in netCDF4._netCDF4.Variable._put
RuntimeError: NetCDF: Operation not allowed in define mode
-bash-4.1$ lt /Input/WRF_AIC/WRFCorn/wrfout*
I googled around online and I have come across discussion about how saving
Netcdf files >2GB is problematic. Haven't found a Python solution though.
I am using the netCDF4 package in Python FYI.
Has anyone come across as solution in Python for this?