Implement writing the eigenfunction (`write_eigenfunc`) in the new diagnostics. This moves write_eigenfunc from diagnostics_final_routines (a list of functions that haven't been upgraded) to diagnostics_fields. As suggested by @rnumata , this also removes the call to do_write_eigenfunc, which should fix #25.
This also adds tests to check that runname.eigenfunc, and the netcdf variables phase, phi_norm, apar_norm and bpar_norm are the same for old and new diagnostics.
Â
As a side note, this diagnostic writes phi / phi(0,:,:) , apar / phi(0,:,:) and bpar / phi(0,:,:), which seems rather redundant.
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.Â
As a side note, this diagnostic writes
phi / phi(0,:,:)
,apar / phi(0,:,:)
andbpar / phi(0,:,:)
, which seems rather redundant.