• Pierre Cazenave's avatar
    Flip the order of the vertical levels in the POLCOMS data to match its depth... · 4032b7ca
    Pierre Cazenave authored
    Flip the order of the vertical levels in the POLCOMS data to match its depth array values (i.e. go from the seabed to the surface instead of the other way around). This changes means the POLCOMS data matches the convention in the FVCOM arrays (where the surface is the first index) and in the POLCOMS depth data. Also change the 1D interpolation to use the pchip interpolation method (shape-preserving piecewise cubic interpolation) instead of linear interpolation. The original change from pchip to linear was because I thought pchip didn't do extrapolation, but since we're scaling the POLCOMS vertical profiles to the FVCOM depths, it doesn't matter. Finally, some miscellaneous changes (moving the creation of the open boundary nodes array to outside the loops and tidying up some of the whitespace/figures code
    4032b7ca
Name
Last commit
Last update
..
samples Loading commit data...
FVCOM_prepro.tmproj Loading commit data...
README.m Loading commit data...
add_coriolis.m Loading commit data...
add_obc_nodes_graphic.m Loading commit data...
add_obc_nodes_list.m Loading commit data...
add_river_nodes_graphic.m Loading commit data...
add_river_nodes_list.m Loading commit data...
add_sigma_forDT.m Loading commit data...
add_sponge_nodes.m Loading commit data...
add_sponge_nodes_list.m Loading commit data...
add_stations_list.m Loading commit data...
add_var_FVCOM_river.m Loading commit data...
calc_sponge_radius.m Loading commit data...
elems2nodes.m Loading commit data...
estimate_ts.m Loading commit data...
example.m Loading commit data...
example2.m Loading commit data...
example_FVCOM_river.m Loading commit data...
example_FVCOM_tsobc.m Loading commit data...
example_FVCOM_wind_ts.m Loading commit data...
example_FVCOM_wind_ts_speed.m Loading commit data...
example_init_lag.m Loading commit data...
example_my_project.m Loading commit data...
find_nearest_pt.m Loading commit data...
gen_semistructured_mesh.m Loading commit data...
gen_unstructured_mesh.m Loading commit data...
generate_mjd.m Loading commit data...
get_AMM.m Loading commit data...
get_FVCOM_rivers.m Loading commit data...
get_HYCOM_forcing.m Loading commit data...
get_MetUM_forcing.m Loading commit data...
get_NAE2_forcing.m Loading commit data...
get_NCEP_forcing.m Loading commit data...
get_POLCOMS_meanflow.m Loading commit data...
get_POLCOMS_netCDF.m Loading commit data...
get_POLCOMS_river_discharge.m Loading commit data...
get_POLCOMS_river_positions.m Loading commit data...
get_POLCOMS_tsobc.m Loading commit data...
get_POLCOMS_tsobc_gcoms.m Loading commit data...
get_POLPRED_spectide.m Loading commit data...
get_zeta_xtide.m Loading commit data...
inCell.m Loading commit data...
interp_POLCOMS2FVCOM.m Loading commit data...
make_blank_mesh.m Loading commit data...
my_project.m Loading commit data...
nodes2elems.m Loading commit data...
plot_field.m Loading commit data...
read_ERA_wind.m Loading commit data...
read_NCEP_wind.m Loading commit data...
read_fvcom_bath.m Loading commit data...
read_fvcom_mesh.m Loading commit data...
read_sigma.m Loading commit data...
read_sms_map.m Loading commit data...
read_sms_mesh.m Loading commit data...
river_info.dat Loading commit data...
set_elevtide.m Loading commit data...
set_spectide.m Loading commit data...
setup_metrics.m Loading commit data...
smoothfield.m Loading commit data...
smoothfield2.m Loading commit data...
truncfield.m Loading commit data...
wrf2fvcom_U10V10.m Loading commit data...
write_FVCOM_bath.m Loading commit data...
write_FVCOM_bedflag.m Loading commit data...
write_FVCOM_cor.m Loading commit data...
write_FVCOM_elevtide.m Loading commit data...
write_FVCOM_forcing.m Loading commit data...
write_FVCOM_grid.m Loading commit data...
write_FVCOM_meanflow.m Loading commit data...
write_FVCOM_meanflow_ascii.m Loading commit data...
write_FVCOM_obc.m Loading commit data...
write_FVCOM_obs_TS.m Loading commit data...
write_FVCOM_restart.m Loading commit data...
write_FVCOM_river.m Loading commit data...
write_FVCOM_river_nml.m Loading commit data...
write_FVCOM_spectide.m Loading commit data...
write_FVCOM_sponge.m Loading commit data...
write_FVCOM_stations.m Loading commit data...
write_FVCOM_tsobc.m Loading commit data...
write_FVCOM_wind_ts_speed.m Loading commit data...
write_FVCOM_z0.m Loading commit data...
write_dtank.m Loading commit data...
write_river_info.m Loading commit data...