Implement write_eigenfunc in new diagnostics
Joseph Parker
Branch: feature/diagnostics-eigenfunction-8.0.4
Branch: 8.0.4-RC
Merged
Merged pull request
Merged in feature/diagnostics-eigenfunction-8.0.4 (pull request #281)
Merged in feature/diagnostics-eigenfunction-8.0.4 (pull request #281)
Replaces PR #45 (updating it for 8.0.4-RC + python)
Addresses issue #25
Implement writing the eigenfunction (`write_eigenfunc`) in the new diagnostics. This moves
write_eigenfunc
fromdiagnostics_final_routines
(a list of functions that haven't been upgraded) todiagnostics_fields
. As suggested by @rnumata , this also removes the call todo_write_eigenfunc
, which should fix #25.This also adds tests to check that
runname.eigenfunc
, and the netcdf variablesphase
,phi_norm
,apar_norm
andbpar_norm
are the same for old and new diagnostics.