You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+12-1
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,20 @@
1
1
# Changelog
2
2
3
-
All notable changes to the model will be documented in this file.
3
+
All notable changes to the model will be documented in this file. Breaking changes (i.e. those that cause changes to the model's interface) are denoted by ⚠️
4
4
5
5
## [Unreleased]
6
6
7
+
### Added
8
+
9
+
- ⚠️ Added option to write to NetCDF file. Specify `&output > write_netcdf = .true.` to use. This requires the compilation of a new Fortran source file, `src/Data/NetCDFOutputModule.f90`, and your compilation process will need ammending. The [example Makefile](./Makefile.example) has been updated accordingly. NetCDF output variables are stored in memory for the entire model run (as opposed to CSV files, which are written iteratively on each time step), which means choosing to write to NetCDF may use significantly more memory.
10
+
- Along with this, added the option for NetCDF output to be chunked when the model is run in batch mode. If `&output > chunk_netcdf = .true.`, then a NetCDF file is written at the end of every chunk in the batch run. If `.false.`, the NetCDF is written at the end of the entire batch. As output variables are stored in memory, for particularly long batch runs, memory usage may be very high for non-chunked NetCDF output. The `nco` command line tools can be used to easily merge chunked NetCDF files after the run, e.g. using [`ncrcat`](http://nco.sourceforge.net/nco.html#ncrcat).
11
+
12
+
### Changed
13
+
14
+
- ⚠️ `src/CheckpointModule1.f90` renamed to `src/CheckpointModule.f90`. Your compilation process may need ammending. The [example Makefile](./Makefile.example) has been updated.
15
+
- Submodule `vendor/mo_netcdf` updated to latest version to allow the creation of scalar variables.
Copy file name to clipboardexpand all lines: config.example/config.example.nml
+2
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ output_path = "data/output/" ! Path to store the outp
32
32
! the more data that is output and the larger the output data file sizes
33
33
&output
34
34
write_csv = .true. ! Should we write output data to CSV files (n.b. turning this off currently suppresses all output, except for runs to steady state)
35
+
write_netcdf = .true. ! Should we write output data to a NetCDF file?
36
+
netcdf_write_mode = 'itr' ! When should we write to the NetCDF file? Every time step ('itr') or at the end of the run ('end'). Every time step is slower, end uses much more memory
35
37
write_metadata_as_comment = .true. ! Should output data metadata (e.g. column descriptions) be included as comments at top of CSV files?
36
38
write_compartment_stats = .true. ! Should a file with summary stats for each compartment (soil, water, sediment) be written?
37
39
include_waterbody_breakdown = .true. ! For surface water output, include breakdown over waterbodies or aggregate at grid cell level?
0 commit comments