Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix history single/double precision issues (CICE-Consortium#628)
* Fix history single/double precision issues - Fix io_netcdf. Double precision output was passed thru a single precision variable before writing so the precision in the output was lost. This is now fixed. Single and double precision netcdf output now reflects the internal model data correctly. - Fix io_pio2. Single precision output with pio2 was producing garbage for both netcdf and pnetcdf cases. This is not the case with pio1. Several changes were needed. - The iodesc initialization has to differentiate single or double target variables - The write_darray has to explicitly send a single or double array - Migrated to spval_dbl fills everywhere data is a double type, mostly in ice_history.F90. - Created a ice_write_hist_fill method in both io_netcdf and io_pio2 to improve reuse. Ran io_suite on cheyenne and checked that values are produced correctly for each case. * update formatting
- Loading branch information