Skip to content

Issues with loading old data and scalar product computation (f * u) after updating Oceananigans #3978

Discussion options

You must be logged in to vote

Unfortunately, loading data saved with previous versions of Oceananigans is not always possible automatically because of compatibility issues with new and old types saved in the JLD2 files.

You can always open the old datafile manually with

file = jldopen("/path")

and inspect the saved data that should be under the timeseries key

file["timeseries"]

With regards to the second issue, I think you are missing the field constructor, try with:

 u_forcing_field = Oceananigans.field((Face, Center, Center), u_forcing, u_timeseries. grid)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Alisa-Shikanyan
Comment options

@glwagner
Comment options

@glwagner
Comment options

@Alisa-Shikanyan
Comment options

Answer selected by Alisa-Shikanyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants