Skip to content

Sea ice velocity does not converge? -- Truncated too many times #26

Answered by yichengt900
zi-hua-liu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zi-hua-liu,

After reviewing your configuration, I believe the issue you encountered is due to the absence of H2_FILE (Variance of sub-grid scale topography) in your model configuration. This information can be found in the original global INPUT ocean_topog.nc. Below is an example script that can be used to regrid H2 data:

import numpy as np
import xarray
import xesmf

import sys

#First load regional grid
hgrid = xarray.open_dataset('ocean_geometry.nc')

mom_grid = {
    'lon': hgrid.lonh,
    'lat': hgrid.lath,
}


tide = xarray.open_dataset(
    '/collab1/data_untrusted/Xiao.Liu/Iron_Project/WHOI_NEP/INPUT/INPUT/tidal_amplitude_TPXO9_OM4p125.v20200922.nc',
)

h2 = xarray.open_datase…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@theresa-morrison
Comment options

@zi-hua-liu
Comment options

@zi-hua-liu
Comment options

@yichengt900
Comment options

Answer selected by zi-hua-liu
@zi-hua-liu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants