GEOS-ESM/GMAO_Shared

Wrong cice grid files

Closed this issue · 5 comments

Currently we write cice grid files in binary format, and default for intel compiler is to write long byte record instead of byte. We write grid_cice.bin and kmt_cice.bin with wrong record size and read with wrong record size, so everything is working with intel compiler, but not with gfortran. And if we correct grid files, all our currently running experiments will crash. How it is better to fix this problem?

If we do not write binary, but, let's say we write a netCDF, and of course read netCDF, is it fixable? Is that a possible approach to fix?

@sanAkel @zhaobin74 I guess cice needs binary. To fix this we need to regenerate every resolution we currently use.

Since we are counting down the CICE4 days... let's hold on to these thoughts... and think of alternatives.

  1. For such work, we need Bin's 100% attention, in git world.
  2. After the V3 ship sails.

@sdrabenh, I am not sure @mathomp4 's commit is supposed to be fix for this issue. @yvikhlya has got an update from me. He can follow up.

@sdrabenh why is this "Wrong cice grid files" closed?

I don't think we incl @yvikhlya , @zhaobin74 have a solution for the CICE grids.

Please reopen! Thanks!