Skip to content

Commit

Permalink
Setting nc format option to NetCDF4Classic.
Browse files Browse the repository at this point in the history
Found a problem with the default "Classic" netcdf format,
where creating too many large data arrays at the same time
causes silent failure of the 'filevardef' routine.

The fix is to switch to NetCDF4 or NetCDF4Classic. This option
has been set now at the start of the main script, so that all
files created by the tool will be NETCDF4Classic format.
  • Loading branch information
douglowe committed Nov 8, 2018
1 parent 3c62686 commit 3347d1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Processing_Scripts/MAIN_emission_processing.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ regional_modification_of_emissions@vars_scale = (/0.0,50.0/)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;; Options for controlling the creation of NetCDF files.
;;;; "NetCDF4Classic" is a flexible format that is compatible
;;;; with WRF-Chem (using compression for input files is not
;;;; advised).
setfileoption("nc","Format","NetCDF4Classic")


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;; END OF CONFIGURATION CODE, START OF OPERATIONAL CODE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit 3347d1f

Please sign in to comment.