Assessing nature of ocean circulation component of bottom pressure in the SZ4D sub-region of the Chilean margin.
Throughout, the paths are somewhat generalized (e.g., '../figures/blahblahblah.png), but in practice you'll likely get directory errors unless you manage to duplicate my unkown-to-you directory structure. So, running these codes will require you to update the paths to suit your system and organizational preferences.
- /tools <--- add to the path to ensure main codes work!
Useful bits of code (many authored by others) that get called by the main codes
- download_X.m ('_ecco2', 'ecco4','hycom','hycom_alt','hycom_recent')
Routines for pulling global ocean circulation model data, specifying some temporal and geographic range. Note that the HYCOM servers seem to be consistently unstable and can prove to be a huge headache. GLORYS data were instead pulled from host using the user-interface provided at gmd.copernicus.org, as described in the header of 'glorys_bp.m'
- glorys_bp.m (or hycom_bp.m)
Converts temperature, salinity, SSH fields provided natively by the models to bottom pressure and/or bottom pressure anomaly
- process_Trehudata.m
From miniseed, decimate and tidally filter APG data from Anne Trehu's 2012-2013 deployment (Trehu et al., 2020), saving as matfile
- stdev_maps.m
Generates map-view plots of RMS of difference between variable reference location and all other locations in model domain for ECCO2, GLORYS, and HYCOM during 2012-2013 period that overlaps with Trehu APG deployment
- stdev_maps_ecco4.m
Attempt to replicate RMS contour maps for ECCO4, but proved not so useful as spatial resolution is much lower
- stdev_maps_recent.m
Generates same type of RMS contour maps for ECCO2, GLORYS, and HYCOM, but uses more recent model output that coincides with Marcos Morenos's A-0-A deployment
- timeseries_comps.m
Make demonstrative time series plots from the 3 model extractions that demonstrate the effectiveness of depth-matched differencing for a range of depths and over increasingly large spatial scales
- timeseries_comps_recent.m
Same as above, but using the more up-to-date model outputs