1. 01 Feb, 2013 1 commit
  2. 31 Jan, 2013 1 commit
  3. 28 Jan, 2013 1 commit
    • Pierre Cazenave's avatar
      Create a new function whose job is to take an existing FVCOM model restart... · 05d2e399
      Pierre Cazenave authored
      Create a new function whose job is to take an existing FVCOM model restart file and change the temperature and salinity values for values extracted from an appropriate POLCOMS model result file.
      
      The POLCOMS data is read in as a 4D array (y, x, z, t) and is interpolated onto the FVCOM sigma layers. This provides the correct number of vertical levels which are then interpolated onto the FVCOM horizontal unstructured grid. This order is chosen because interpolating onto the horizontal grid first would dramatically increase the number of interpolations of the vertical which would be necessary. Initial development of the function revealed that the interpolation returns NaNs outside the POLCOMS domain: since it is likely the FVCOM domain is both higher resolution and more faithful to the coastline, a simple extrapolation is performed to remove all the NaNs (based on the nearest existing finite value to a given NaN location).
      
      Once the data have been interpolated (and extrapolated), an existing NetCDF restart file is opened and its contents replicated into a new NetCDF file (appended with _polcoms.nc). Only the "temp" and "salinity" variables are changed with the interpolated 3D arrays (we lose a dimension because the FVCOM grid is unstructured).
      05d2e399
  4. 23 Jan, 2013 1 commit
  5. 21 Jan, 2013 1 commit
    • Pierre Cazenave's avatar
      In cases where the requested constituent is not found in the POLPRED data,... · 2da82f23
      Pierre Cazenave authored
      In cases where the requested constituent is not found in the POLPRED data, eliminate the NaN values from the relevant indices and return POLPRED data for the remaining constituents. It is worth noting that actually trying to write out the data returned by this with write_FVCOM_spectide.m will probably fail because the size of the list of constituents will differ from the size of the arrays of amplitude and phase returned by this script
      2da82f23
  6. 18 Jan, 2013 1 commit
    • Pierre Cazenave's avatar
      Add support for a sponge radius based on the distance to the nearest element... · d2663c1d
      Pierre Cazenave authored
      Add support for a sponge radius based on the distance to the nearest element to the specified boundary nodes (rather than a fixed radius away from the boundary). To enable, set the SpongeRadius value given to add_sponge_nodes_list.m to a negative value and then call calc_sponge_radius.m to assign sponge layer coefficients to the relevant nodes. Finally, call add_spong_nodes_list to add the nodes to the MATLAB mesh struct
      d2663c1d
  7. 17 Jan, 2013 3 commits
  8. 16 Jan, 2013 2 commits
  9. 10 Jan, 2013 4 commits
  10. 09 Jan, 2013 11 commits
  11. 08 Jan, 2013 3 commits
  12. 18 Dec, 2012 5 commits
  13. 30 Nov, 2012 2 commits
  14. 26 Nov, 2012 2 commits
  15. 15 Nov, 2012 2 commits