powellb / seapy

State Estimation and Analysis in Python
MIT License
28 stars 21 forks source link

Extreme momentum values created in boundary file #27

Closed jason-tilley closed 8 years ago

jason-tilley commented 8 years ago

I've created a climatology file using seapy as:

seapy.roms.interp.to_clim(base_dir + "hycom_file.nc",
                          dest_file=base_dir + "my_clim.nc",
                          dest_grid=mygrid, nx=1/25., ny=1/25.,
                          vmap={"zeta":"zeta", "temp":"temp",
                          "u":"u", "v":"v", "salt":"salt"})

Strangely, an ncdump of the climatology file reveals the first couple of lines of data (near the masked data) for ubar and v_bar have some extreme values (e.g., -54,000). Does anyone have any idea of what I might be doing wrong?

powellb commented 8 years ago

This means it is extrapolating data. It can only interpolate.

-Brian

On Aug 27, 2016, at 11:25 AM, ForTozs notifications@github.com wrote:

I've created a climatology file using seapy as:

seapy.roms.interp.to_clim(base_dir + "hycom_file.nc", dest_file=base_dir + "my_clim.nc", dest_grid=mygrid, nx=1/25., ny=1/25., vmap={"zeta":"zeta", "temp":"temp", "u":"u", "v":"v", "salt":"salt"}) Strangely, an ncdump of the climatology file reveals the first couple of lines of data (near the masked data) for ubar and v_bar have some extreme values (e.g., -54,000). Does anyone have any idea of what I might be doing wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jason-tilley commented 8 years ago

Thanks. So would a difference in land masks due to resolution be a potential cause of this?