Update vertical coordinate with deptho during inference#1048
Update vertical coordinate with deptho during inference#1048
deptho during inference#1048Conversation
|
Verification here. Prediction loader uses a checkpoint with |
deptho during inference
|
Is it possible to do this in an offline script (i.e. save a new version of the checkpoint with the updated vertical coordinate) instead of complicating the generic ACE/coupled inference entrypoints? |
Yes, we can do this offline instead. The original intention was to not merge this, since we just need it for baseline comparison in wandb. James and I thought it could be helpful to do this automatically and not have to think about it, but I agree that it makes the inference/evaluator code messy. @jpdunc23 thoughts? |
Was hoping this could be done a bit more unobtrusively. Possibly at the |
We previously did not include sea floor depth (
deptho) to account for partial bottom cells which caused vertical integral such as ocean heat content to be inaccurate. We have since updated the dataset to incorporatedepthoin the vertical coordinate, however existing checkpoints do not have this information and cause inference/evaluator to have the wrong ocean heat content. This PR automatically updates the vertical coordinate in an existing checkpoint withdepthofrom the data, all other fields stay the same (e.g.,idepth,mask).