Jekyll2022-09-30T19:49:15+00:00https://selipot.github.io/feed.xmlShane ElipotResearch Assistant Professor of Ocean Sciences at the University of Miami.My OSM22 poster2022-03-02T00:00:00+00:002022-03-02T00:00:00+00:00https://selipot.github.io/blog/my-osm22-poster-on-estimating-ke-from-baroclinic-tides<p>I am posting here the poster I am presenting at the AGU OSM 2022 meeting as part of Session PL09
<em>Tides in the past, present and future</em>. Originally on March 2, 2022 at 9:00 PM ET.</p>
<p><em>Global mapping of kinematics and dynamics of tidal currents with surface drifters</em> by Shane Elipot, Edward Zaron, Jonathan M. Lilly, and Rick Lumpkin.</p>
<p><img src="../../images/Elipot_OSM2022_poster_small.png" alt="OSM22 poster" /></p>I am posting here the poster I am presenting at the AGU OSM 2022 meeting as part of Session PL09 Tides in the past, present and future. Originally on March 2, 2022 at 9:00 PM ET.My moonshot for the Ocean Decade2020-11-30T00:00:00+00:002020-11-30T00:00:00+00:00https://selipot.github.io/blog/my-moonshot-for-the-ocean-decade<p>By now you’ve probably heard that the United Nations (UN) has proclaimed <a href="https://www.oceandecade.org"><em>a Decade of Ocean Science for Sustainable Development</em></a> which will take place from 2021 to 2030. More broadly, this is one of the actions put in place by the UN to achieve <a href="https://www.un.org/sustainabledevelopment/"><em>The Sustainable Development Goals</em></a>, and more specifically Goal 14 to <a href="https://www.un.org/sustainabledevelopment/oceans/"><em>Conserve and sustainably use the oceans, seas and marine resources</em></a>.</p>
<p>Anyway, the slogan for this decade is “The Science We Need For the Ocean We Want”. I don’t think this rolls easily on the tongue, but I think it means that it will be up to us to decide what we want to do as scientists to fulfill the Ocean Decade Challenges (perhaps). As the decade is an international activity, it is not a funding program but rather a <strong>framework</strong> to work together to create <strong>new ideas and solutions</strong>. One of the ways this will be achieved is by the Decade endorsing specific <strong>Decade Actions</strong> for which there is <a href="https://www.oceandecade.org/news/75/Call-for-Decade-Actions-No-012020-">a call, closing on 15 January 2021</a>.</p>
<p>This decade has been in preparation since 2017 thanks to the work of <a href="https://ioc.unesco.org">The Intergovernmental Oceanographic Commission (IOC)</a> of UNESCO, <a href="https://en.unesco.org">the United Nations Educational, Scientific, and Cultural organization</a>. IOC has produced an <a href="https://oceanexpert.org/document/27348">Implementation Plan for the Decade</a>, now in its version 2.0 (took me a while to find the link). This plan lists <strong>7 Outcomes</strong> (that’s <em>the ocean we want</em>), and as a physical oceanographer, I guess I am interested in Outcome #4 (<em>A predicted ocean where society understands and can respond to changing ocean conditions</em>) and Outcome #6 (<em>An accessible ocean with open and equitable access to data, information and technology and innovation</em>). But before we get to the outcomes of the Decade we will have to “fulfill” <strong>10 Challenges</strong>, such as Challenge #5 which is to <em>enhance understanding of the ocean-climate nexus and generate knowledge and solutions to [do a lot of stuff]</em> , and Challenge #7 to <em>Ensure a sustainable ocean observing system across all ocean basins that delivers accessible, timely, and actionable data and information to all users</em>. Ambitious stuff. Then, there are also <strong>3 Objectives</strong>, each of them with 5 to 7 Sub-Objectives and there I am starting to be a bit confused about the purpose of these … I am reading that they are to <em>guide the development and delivery of Actions towards the fulfilment of the Decade Challenges</em> …</p>
<p>If you are still reading this, and you are based in the USA, you should perhaps know that <a href="https://www.nationalacademies.org/home">the National Academies of Sciences, Engineering, and Medicine (NASEM)</a> will serve as the organizational center for coordination of scientific initiatives to inspire <a href="https://www.nationalacademies.org/our-work/us-national-committee-on-ocean-science-for-sustainable-development-2021-2030#sectionCommittee">U.S. contributions to the Decade</a> (note that the Academies are private, nonprofit organizations, so not governmental and thus non partisan). Notably, NASEM has established a US National Committee to convene activities related to the Decade. As such, the US Committee has issued <a href="https://www.nationalacademies.org/our-work/us-national-committee-on-ocean-science-for-sustainable-development-2021-2030#sl-three-columns-e33ae106-08bc-49e3-8baf-078797861e38">a call for submission of “Ocean-Shots”</a>. As a non-native English speaker working in the US, I really had no idea what that referred to. Then I heard it is related to the concept of Moonshot, which according to urbandictionary.com is <em>awesome, fantastic, almost impossible to achieve, the best, the reason for success, reaching the highest point, right on target</em> … Note that I am not quite sure how this Ocean-Shot application or concept will fit into the <a href="https://www.oceandecade.org/news/75/Call-for-Decade-Actions-No-012020-">call for Decade actions and the Decade endorsement</a>.</p>
<p>In any case, with the support of Rick Lumpkin from NOAA/AOML, Luca Centurioni from Scripps Institution of Oceanography, and Josh Willis from NASA/JPL, I have submitted an Ocean-Shot application to NASEM about the idea/concept of implementing <strong>a new global ocean observing system for mean sea level</strong>, based <a href="https://dx.doi.org/10.1029/2020GL091078">on my latest paper published in AGU GRL [1]</a> and featured in <a href="https://doi.org/10.1029/2020EO151862">AGU’s EOS as a Research Spotlight</a>. This is kind of a crazy idea, and realizing this idea will require national and international collaborations … and help. So I thought it would be a good idea to put it out there in the open, for the sake of <a href="https://en.wikipedia.org/wiki/Open_science">#openscience</a>, and I hope to gather ideas, suggestions, and criticisms. Let me know what you think by email <a href="mailto:selipot@miami.edu">selipot@miami.edu</a>, <a href="https://twitter.com/ShaneKahn">twitter</a>, or use <a href="https://disqus.com">Disqus</a> below to post your comments.</p>
<p><img src="../../images/tristan.jpg" alt="Alt text" title="a Technocean SVPB drifter in the foreground, with Tristan da Cunha Island in the background. Photo Credit: Unkonwn" /></p>
<h2 id="ocean-shot-concept-measuring-global-mean-sea-level-changes-with-surface-drifting-buoys"><strong>“Ocean-Shot Concept”: Measuring Global Mean Sea Level Changes With Surface Drifting Buoys</strong></h2>
<p><strong>1. Abstract (describe hypothesis, scientific and/or technological objectives, 200 words limit)</strong></p>
<p>We propose to establish a new ocean observing system for monitoring global and regional mean sea level changes. This system will consist of a global array of thousands of water following drifting buoys tracked by a global navigation satellite system—such as the Global Positioning System (GPS)—which will continuously provide the geographical positions and the height of the sea surface along the buoys’ trajectories. The sea level height data collected in this way, averaged over regional basins and the global ocean, will provide daily measures of regional and global mean levels. An essential climate variable, mean sea level is an intrinsic measure of climate change, integrating the thermal expansion of the ocean’s waters and additions to the ocean’s mass from melting terrestrial ice. The realization of this new system requires that standardized vertical position measurements with controlled accuracy be acquired and regularly transmitted from relatively small and expendable drifting buoys, which constitutes a technological challenge, yet one with a clear path for being met. The development and implementation of this ocean shot concept will ultimately provide an independent, resilient, sustainable, and economical observational system to quantify natural and anthropogenic sea level changes, augmenting the existing satellites and tide gauge observing systems.</p>
<p><strong>2. Relevant Ocean Decade Challenge(s):</strong></p>
<p>This ocean shot concept is related to Challenge 5 since it contributes to the understanding of climate dynamics by measuring mean sea level; to Challenge 6 since it provides a near-real time monitoring of regional and global mean sea level; to Challenge 7 since it consists of a global ocean observing system delivering free and immediately accessible data to all potential users; and to Challenge 8 since it delivers its data in near-real time to reveal a dynamic monitoring of regional and global mean sea level.</p>
<p><strong>3. Vision and potential transformative impact (200 word limit):</strong></p>
<p>Currently, global mean and regional sea level changes are monitored by two observational systems: coastal and island tidal gauges and satellite radar altimeters. Tidal gauge records have high temporal resolution, but their representativeness of the global mean sea level is biased toward the coasts and the Northern Hemisphere. In contrast, the altimeter reference record is almost global but can only provide a near-synoptic view about every 10 days and spatial resolution of hundreds of kilometers. The envisaged observing system will be high frequency, such as daily, and it will be global by notably including the highest latitudes such as in the Arctic ocean. The new system will be independent of the other systems, but also resilient and scalable, fit-for-purpose and economical, rapidly deployable and adaptable to new technologies and scientific objectives related to understanding and adapting to the threat of the sea level rise and climate change. Importantly, the new system will introduce an important redundancy that would preserve the continuity of the record in case of failure of key satellite missions.</p>
<p><strong>4. Realizable, with connections to existing U.S. scientific infrastructure, technology development, and public-private partnerships (150 word limit):</strong>*</p>
<p>A global network of drifting buoys already exists in the form of the Global Drifter Program (GDP), the principal component of the international Data Buoy Cooperation Panel. The GDP is sustained by US federal agencies, with engagements from other countries. The proposed observing system could be quickly deployed by enhancing the positioning technology of GDP drifters, adding to its scientific value and expanding its existing objectives by adding the capability to measure mean sea level. The GDP buoys already use GPS technology to measure surface currents together with sea surface temperature, atmospheric pressure and, and for some, salinity, providing an oceanographic context to new sea level measurements. Importantly, the GDP readily provides the framework for technological development by Scripps Institution of Oceanography and other commercial companies already building drifters, and the logistical infrastructure for deployment and data processing by the Atlantic Oceanographic and Meteorological Laboratory.</p>
<p><strong>5. Scientific/technological sectors engaged outside of traditional ocean sciences (100 word limit):</strong></p>
<p>A recent study (Elipot, 2020, doi:10.1029/2020GL091078), demonstrate that, with the current characteristics of the existing GDP array of 1250 drifters, global mean sea level decadal linear trend estimates with an uncertainty less than the recommended 0.3 mm per year could be achieved with daily random error of 1.6 m or less in the vertical direction for each individual drifter daily estimate. With a pilot project currently underway, this technological challenge will be overcome by combining research and development in global navigation satellite system science, signal processing, and geodesy.</p>
<p><strong>6. Opportunities for international participation and collaboration (100 word limit):</strong></p>
<p>The accuracy of measuring global mean sea level change from an array of drifting buoys improves not only with the individual vertical accuracy of a drifter height measurement, but also with the number of active drifters (Elipot, 2020). Just like the current GDP relies on international collaborations for buoy deployments in the world’s ocean, the proposed array will also need international participation for its implementation and funding. As such, the ultimate scale of the proposed observing system constitutes a clear example of the application of slogan “the science we need for the ocean we want”.</p>
<p><strong>7. Builds global capacity and encourages the development of the next generation of ocean scientists (100 word limit):</strong></p>
<p>Globally distributed deployments of buoys by international partners, and the associated stream of oceanographic data, provide opportunities for personal, institutional, and community engagements. As an example, sea level and other data from a single buoy could relatively easily be apprehended by a single investigator or student. Such individual engagement could ignite further investigations which would include a large number of drifters requiring wider coordination and expertise through a multi-people project, building into the global capacity of the proposed system.</p>
<p><strong>References</strong></p>
<p>[1] <a href="https://dx.doi.org/10.1029/2020GL091078">Elipot, S. (2020), Measuring global mean sea level changes with surface drifting buoys, Geophysical Research Letters, 47, e2020GL091078, doi:10.1029/2020GL091078.</a></p>By now you’ve probably heard that the United Nations (UN) has proclaimed a Decade of Ocean Science for Sustainable Development which will take place from 2021 to 2030. More broadly, this is one of the actions put in place by the UN to achieve The Sustainable Development Goals, and more specifically Goal 14 to Conserve and sustainably use the oceans, seas and marine resources.On the inappropriate use of variance-preserving spectra2020-01-20T00:00:00+00:002020-01-20T00:00:00+00:00https://selipot.github.io/blog/variance-preserving-spectra<p>I have been surprised by the continuing use of <em>variance-preserving spectra</em> in the oceanographic literature as a tool to diagnose periodicities in time series (this does not seem to happen in the purely climate literature … we, oceanographers, are often a bit behind). Since I don’t think I know much, I often seek out the help of a couple of statistician friends that deal with time series (like all the time). I have casually asked them: “Why do you think people use variance-preserving spectra?”. Their answer was revealing: they did not even know what a variance-preserving spectrum was! Once I explained to them (see below), they were even more confused. They also wondered what was wrong with us (oceanographers). On a more serious note, what concerns me is that we collectively spend millions of tax-payer dollars to obtain amazing time series of oceanographic variables (such as oceanic volume transport), and sometimes analyze them with the wrong tools, unfortunately. We need to collectively do better.</p>
<p>So, I have decided to write a little note to demonstrate why variance-preserving spectra should not be used to make conclusive statements about periodicity in a time series, and to suggest alternative methods. I have recently become a research assistant professor, and thus I am trying to get a bit more in the teaching side of things (I do not teach at my institution which is what the <em>research</em> epithet means). So here you go, I writing this blog post to give some pointers. Let me know if I am doing it all wrong at <a href="mailto:selipot@rsmas.miami.edu">selipot@rsmas.miami.edu</a> or please comment below.</p>
<p>One definition of the frequency spectrum \(S(f)\) (there are several) is that it is the Fourier transform of the autocovariance function \(R(\tau)\), or in other words, that the spectrum and the autocovariance function are <em>Fourier transform pairs</em>:</p>
\[S(f) \equiv \int_{-\infty}^{+\infty} e^{-i 2 \pi f \tau} R(\tau) d\tau , \quad\quad R (\tau) = \int_{-\infty}^\infty e^{i 2 \pi f \tau} S(f) \, df .\]
<p>This is called the <a href="http://mathworld.wolfram.com/Wiener-KhinchinTheorem.html"><em>Wiener–Khintchine theorem</em></a> (the spelling of Khintchine varies). When the expression above is evaluated at zero lag \((\tau=0)\), one obtains that the variance of your time series, \(\sigma^2\), is the integral of the frequency spectrum:</p>
\[\sigma^2 \equiv R (0) = \int_{-\infty}^{+\infty} S(f) \, df .\]
<p>This is why I personally think estimating a spectrum is the most useful: it shows the frequency decomposition of the variance of your time series. It allows you to state something about where the energy of your signal resides. If you are new to spectral analysis you could start with <a href="https://selipot.github.io/talks/lecture4/index.html">my lecture on time series analysis</a> or <a href="http://jmlilly.net/course.html">the entire course on the subject by my colleague oceanographer Jonathan Lilly</a>. At the bottom of this post you will find also some good book references including the excellent <a href="https://doi.org/10.1017/CBO9780511622762">Percival and Walden (1993)</a> <em>Spectral Analysis for Physical Applications</em>.</p>
<p>Now to the topic of this post: another typical use of spectral (or harmonic) analysis in physical oceanography is to look for quasi-periodic signals in a time series, such as a <em>seasonal</em> or an <em>annual</em> cycle. People are looking for “peaks”, which amounts to looking for patterns in a time series. This seems to be a very human trait because in oceanography exactly periodic signals are actually rare, and purely monochromatic signals (one frequency) even more so. As a side note, a typically erroneous interpretation of a spectrum I often hear is about a semi-annual peak (6-month period). Typically the reason for such a peak is not that there is a physical process at that specific frequency, but more likely that it is a harmonic of the annual, and lower, frequency. In other words you have a periodic signal with a 1-year period but it is not a pure sinusoid, and more than one frequency is needed to describe the periodic process (That’s the principle of <a href="http://mathworld.wolfram.com/FourierSeries.html">Fourier series decomposition</a>).</p>
<p>Here I want to show a synthetic example of a time series that is not unlike many published oceanographic time series, and show how a variance-preserving spectral plot of this time series can lead to misidentifying <em>peaks</em>. Below is shown a randomly generated real-valued time series with \(1000\) points. I generated and scaled this time series so that its variance is \(0.01\) and thus its standard deviation is \(0.1\):</p>
<p><img src="../../images/timeseries.png" alt="Matern process with N=1000" /></p>
<p>This time series is actually one realization of a <a href="https://www.nonlin-processes-geophys.net/24/481/2017/">Matérn process</a> with a spectrum given by</p>
<!--- S(\omega) = \frac{\sigma^2 }{ (\omega^2+\lambda^2)^\alpha} \times \lambda^{(2\alpha-1)/C} $$ -->
\[S(f) = C \frac{A^2}{[(2\pi f)^2+\lambda^2]^\alpha}\]
<p>where \(C\) is just a normalizing constant. To generate this time series I used a freely accessible Matlab toolbox called <a href="https://github.com/jonathanlilly/jLab">jLab</a> written by <a href="http://www.jmlilly.net">Jonathan Lilly</a>. I like this model because it fits nicely a lot of oceanographic time series I have looked at, including Lagrangian time series and time series of oceanic transports. In fact, I have used that model to conduct some testing on the statistics of transport time series of the AMOC in my <a href="http://dx.doi.org/10.1175/JCLI-D-16-0664.1">Elipot et al. 2017 paper</a>. The point of using this model is that there is absolutely no periodicity in this signal; it has a continuous spectrum with no peak. What does a peak in a spectrum mean anyway? I think it should mean that the spectral power at a single frequency is much greater than neighboring frequencies, or that it is much more than what you would expect under the hypothesis that your observed process (i.e. time series) is representative of some noise-like process, white or colored. There is nothing wrong with a noise-like process by the way, on the contrary it tells you a lot about your observations.</p>
<p>Now, how does a spectral estimate of this time series look like? The next figure shows a <a href="https://ieeexplore.ieee.org/abstract/document/1456701">multitaper spectral estimate</a> which is really one of the best methods around to estimate a spectrum in a non parametric way (i.e. not knowing its shape, see <a href="https://selipot.github.io/talks/lecture4/index.html#50">my lecture</a> as an example on how to implement it practically). The estimate is shown in blue, the non-symmetric 95% confidence intervals are shown in lighter blue, and the theoretical spectrum is shown in red.</p>
<p><img src="../../images/spectra_linlin.png" alt="Multitaper spectral estimate on linear scales" /></p>
<p>You may say that the <em>estimate</em> in blue is very different from the <em>true</em> spectrum in red. That is however the nature of spectral estimation using finite time series. There is no added noise in the time series, only the process described by the theoretical spectrum. From discrete and limited data, the true spectrum is not accessible, it can only be estimated, sometimes poorly. By the way, with this plot, <a href="https://selipot.github.io/talks/lecture4/index.html#49">if you have scaled your spectrum properly</a>, you can probably estimate the variance of the signal since it is the area under the curve according to the Wiener–Khintchine theorem given above (Here I would eyeball that the area under the spectral estimate is about the area of the drawn triangle so approximately \(\frac{1}{2} \times (0.08 \times 0.3) \approx 0.01\) which is the variance I specified above).</p>
<p>Now, because the variance of a typical time series in oceanography spans a very wide range of magnitude over a wide range of temporal scales, it is typical to plot a spectrum on a so-called log-log plot, that is with the two axes shown on a logarithm base 10 scale:</p>
<p><img src="../../images/spectra_loglog.png" alt="Multitaper spectral estimate on base 10 logarithmic scales" /></p>
<p>I am sure this type of spectrum looks very familiar to many: a plateau towards the zero frequency, a shoulder break at mid-frequencies, and a power-law behavior at higher frequencies that manifests itself as a linear slope in this log-log representation. One issue with such log-log plot is that it really emphasizes the lowest frequencies which are nothing special compared to all the other ones in a statistical sense. However, we care about the lowest frequencies because we are often interested in long time-scale processes. We typically received funding to collect an oceanographic time series for as long as we could and really would like to know about the period as long at the length of our experiment (hence I suggest the use of the multitaper that can achieve that, and not the Welch’s method or any method that chop your time series in segments). Cool, now, see any peaks? Maybe, but really, there are none by construction.</p>
<p>So now, let’s consider a <em>variance-preserving spectrum</em> instead (sometimes also called an <em>area-preserving plot</em>). Such plot has nothing to do with the estimation of the spectrum itself, it’s just a different kind of plot. A google search leads to a note written by my PhD advisor (who knows a lot about statistics) about what that beast is. I think it is also described in <a href="https://www.sciencedirect.com/book/9780123877826/data-analysis-methods-in-physical-oceanography">Emery and Thompson</a>, as well as in <a href="http://nrs.harvard.edu/urn-3:HUL.InstRepos:15217585">Carl Wunsch’s primer on time series analysis</a>. Now, using the fact that \(d(\ln(f)) = df/f\), one can rewrite</p>
\[\sigma^2 = \int^{+\infty}_{-\infty} S(f) df = \int^{+\infty}_{-\infty} S(f)\, f d(\ln(f))\]
<p>Here, \(\ln\) is the natural logarithm (logarithm base \(e\)) not the common logarithm (base 10). The idea behind this transformation is that when one plots \(S(f) \times f\) on the “y axis” versus \(\ln(f)\) on the “x axis”, the area under the curve between two frequencies is proportional to the variance in the range of frequencies defined by these two frequencies. It compensates for the “squeezing” of the high frequencies and the “stretching” of the low frequencies in the previous plot above. So now a variance-preserving version of the previous plots is:</p>
<p><img src="../../images/variancespectra.png" alt=""Variance-preserving spectral estimate"" /></p>
<p>In this plot the y-axis is in units of variance of your variable, and the x-axis is this weird logarithm unit. So now, see any peaks? Well, maybe there are peaks between \(-2\) and \(-3\)? Even the theoretical spectrum would suggest that there is a “hill” near that range of frequencies … wouldn’t that be a peak? Nope. Nevertheless, the frequencies near that hill are the frequencies for which the Matérn process transitions from a “white” (flat) type of spectrum to a power-law (self-similar) type of spectrum. This range of “transition” frequencies is actually controlled by the <em>damping parameter</em> \(\lambda\) of the theoretical spectrum (see equation above). If you’d like to know more, you could read <a href="https://doi.org/10.5194/npg-24-481-2017">Lilly et al. 2017</a>.</p>
<p>But in the end, there are no peaks. Unfortunately, I have seen many papers claiming that peaks existed solely on the basis of a plot just like the one above. I think a variance-preserving spectrum is actually very misleading when investigating periodicities. I don’t recall reading any papers that use this representation for the purpose of using the area under the spectral curve to relatively quantify the distribution of variance.</p>
<p>So, in the end, how does one look for peaks? I don’t think I have ever published a paper without a spectral estimate in it and I am still approaching this question with apprehension. I still think that it is not simple and this should be the subject of another post (hopefully the next one). One could start however by using the confidence intervals as <a href="https://selipot.github.io/talks/lecture4/index.html#68">there are established formulas to calculate those</a>! Given the confidence intervals displayed in the linear or logarithmic plots shown above, one could qualitatively say that there are no outstanding peaks in this example. Otherwise, I personally use a statistical test for periodicity in colored noise given by <a href="https://ieeexplore.ieee.org/abstract/document/1456701">Thomson (1982)</a> and described nicely in <a href="https://doi.org/10.1017/CBO9780511622762">Percival and Walden, (1993)</a>. Peaks in colored noise is the most common situation I have encountered in physical oceanography. I have coded it in Matlab, send me an <a href="mailto:selipot@rsmas.miami.edu">email</a> and I’d be happy to share.</p>
<p>The Matlab script to generate the figures above is available at a <a href="https://github.com/selipot/laughing-doodle">GitHub repository</a>. My apologies for still using a proprietary computation software. I think that script should also work in the free Matlab-look-alike <a href="https://www.gnu.org/software/octave/">Octave software</a> but I have not tested it.</p>
<p><strong>References</strong></p>
<p>[1] <a href="https://doi.org/10.1017/CBO9780511622762">Percival, D. B. and Walden, A. T. (1993), <em>Spectral Analysis for ddPhysical Applications</em>, Cambridge University Press</a></p>
<p>[2] <a href="https://www.wiley.com/en-us/Random+Data%3A+Analysis+and+Measurement+Procedures%2C+4th+Edition-p-9781118210826">Bendat, J. S., & Piersol, A. G. (2011), <em>Random data: analysis and measurement procedures</em> (Vol. 729), John Wiley & Sons</a>.</p>
<p>[3] Jenkins, G.M. and Watts, D. G. (1968), <em>Spectral Analysis and its Applications</em>, Holden-Days.</p>I have been surprised by the continuing use of variance-preserving spectra in the oceanographic literature as a tool to diagnose periodicities in time series (this does not seem to happen in the purely climate literature … we, oceanographers, are often a bit behind). Since I don’t think I know much, I often seek out the help of a couple of statistician friends that deal with time series (like all the time). I have casually asked them: “Why do you think people use variance-preserving spectra?”. Their answer was revealing: they did not even know what a variance-preserving spectrum was! Once I explained to them (see below), they were even more confused. They also wondered what was wrong with us (oceanographers). On a more serious note, what concerns me is that we collectively spend millions of tax-payer dollars to obtain amazing time series of oceanographic variables (such as oceanic volume transport), and sometimes analyze them with the wrong tools, unfortunately. We need to collectively do better.Lectures on Methods of Data Analysis2017-09-15T00:00:00+00:002017-09-15T00:00:00+00:00https://selipot.github.io/blog/statistics-lectures<p>I just spent 3 very intense but delightful weeks in Cape Town, the mother city of South Africa. Aside from attending the <a href="http://www.iapso-iamas-iaga2017.com">IAPSO-IAMAS-IAGA 2017 meeting</a> which was a lot of fun, I visited for two weeks the <a href="http://www.sea.uct.ac.za">Department of Oceanography at the University of Cape Town</a> in order to deliver a series of lectures on methods of data analysis in oceanic and atmospheric sciences. I am very grateful to the Head of Department Prof. Isabelle Ansorge and Dr. Juliet Hermes from <a href="http://www.saeon.ac.za">the South African Environmental Observation Network</a> for making my visit possible.</p>
<p>My audience was broad and diverse (more than 30 students!), from Masters level to postdoctoral researchers. I am pleased to make now available openly on my website the <a href="/talks/">slides of these five lectures</a>, as well as the Matlab scripts that the students worked with during afternoon practical sessions. I was ambivalent about making the students use a commercial software, as opposed to an open source software like Python. However, In the interest of time and exactness, I had to stick to what I knew. In addition, most of these Matlab scripts are compatible with the Matlab-like free software <a href="https://www.gnu.org/software/octave/">Octave</a>.</p>
<p>By the way, I am always grateful to <a href="http://www.jmlilly.net">Jonathan Lilly</a> who made me embark on this journey of lecturing on stats! And please check out the latest version of his course on time series analysis <a href="http://www.jmlilly.net/talks/oslo/v2/index.html">here</a>.</p>
<p>Please feel free to email me with comments or questions about this material!</p>I just spent 3 very intense but delightful weeks in Cape Town, the mother city of South Africa. Aside from attending the IAPSO-IAMAS-IAGA 2017 meeting which was a lot of fun, I visited for two weeks the Department of Oceanography at the University of Cape Town in order to deliver a series of lectures on methods of data analysis in oceanic and atmospheric sciences. I am very grateful to the Head of Department Prof. Isabelle Ansorge and Dr. Juliet Hermes from the South African Environmental Observation Network for making my visit possible.Hourly drifter product version 1.01 released2017-01-20T00:00:00+00:002017-01-20T00:00:00+00:00https://selipot.github.io/blog/hourly-dataset-ver-1.01<p>We are pleased to announce the release of version 1.01 of the hourly drifter product. Now available to download from the Global drifter program <a href="http://www.aoml.noaa.gov/phod/dac/hourly_data.php">DAC website</a>. The methods of interpolation implemented to generate this product are the same as for version 1.00 of the dataset released in mid-2016, see <a href="http://dx.doi.org/10.1002/2016JC011716">Elipot et al. 2016, doi:10.1002/2016JC011716</a>. See the <a href="http://www.aoml.noaa.gov/phod/dac/hourly_data.php">release notes</a>.</p>
<p>This 1.01 update adds newer data to the previous version, one year of quality-controlled data up to 30 June 2016 for Argos-tracked drifters, and more than one year of GPS-tracked data, up to 1 October 2016. In addition, we have added data before 1 September 2005 (the start date of version 1.00) by considering all GPS-tracked drifters since the beginning of the GDP, and all Argos-tracked drifter data since the beginning of the GDP, when the average of the uneven sampling intervals per trajectory is less than or equal to 3 hours.</p>
<p><img src="/images/data_distribution_1.01.jpg" alt="Alt text" title="Distribution of hourly drifter position and velocity estimates from Argos-tracked and GPS-tracked trajectories, version 1.01" /></p>
<p>The 1.01 dataset now totals over 117.4 million estimates of position and velocity with confidence intervals from 12,287 Argos-tracked drifter trajectories, and over 5.6 million estimates of position and velocity with confidence intervals from 985 GPS-tracked drifter trajectories.</p>
<p>Simplified versions of the Matlab codes used to generate this dataset are available through a <a href="https://github.com/selipot/hourly-drifters/">GitHub repository</a>.</p>We are pleased to announce the release of version 1.01 of the hourly drifter product. Now available to download from the Global drifter program DAC website. The methods of interpolation implemented to generate this product are the same as for version 1.00 of the dataset released in mid-2016, see Elipot et al. 2016, doi:10.1002/2016JC011716. See the release notes.Colors of the Wind Ocean2016-10-09T00:00:00+00:002016-10-09T00:00:00+00:00https://selipot.github.io/blog/colors-of-the-ocean<p><em>You can own the earth and still</em></p>
<p><em>All you’ll own is earth until</em></p>
<p><em>You can paint with all the Colors of the <strike>Wind</strike></em>
<em>Ocean</em></p>
<p>Thank you to <a href="https://twitter.com/rejectedbanana">Kim Martini</a> for pointing out on twitter a new article published in <a href="http://dx.doi.org/10.5670/oceanog.2016.66">Oceanography magazine</a>! In that article, Thyng et al. present a set of freely available colormaps called <a href="https://github.com/matplotlib/cmocean">cmocean</a> to be used for oceanographic applications. This newish set strives to provide a selection of color palettes chosen to accurately serve the representation of data, with color hues we oceanographers traditionally associate with oceanic variables (such as deep blue to white for sea ice). The set is built in order for our eyes to not misinterpret the data being presented (the analog filter of our eyes perceive colors and color gradients unevenly). In particular, the method used by Thyng et al. consists in making sure the perceptual (visual) changes in a given colormap match the changes in the underlying data, using a property of color called “lightness”, and relies mostly on the <a href="https://github.com/matplotlib/viscm"><strong>viscm</strong> tool</a>. Appropriately, The authors point out the pitfalls of the <em>jet</em> colormap (which I have always personally found evil), and I think they are right on point when assigning the apparent popularity of that colormap to having been the default <a href="http://www.mathworks.com/help/matlab/ref/colormap.html">MATLAB colormap</a> for many years (but recently switched to the demure parula colormap by the way).</p>
<p>The business of colors can be incredibly complicated, but also very useful. I am very keen on using the <em>phase</em> information of data, which is a challenging thing to represent when an associated magnitude is also present. In several of my papers I have relied on the Hue-Saturation-Value (HSV) properties of colors rather than the more traditional Red-Green-Blue (RGB) representation (see as an example my 2016 paper <a href="http://dx.doi.org/10.1175/JPO-D-14-0254.1"><em>Characteristics, Energetics, and Origins of Agulhas Current Meanders and their Limited Influence on Ring Shedding</em></a>). Another example on the use of colors in oceanography is the paper by Hughes and Williams in 2010 called <a href="http://dx.doi.org/10.1029/2010JC006102"><em>The color of sea level</em></a> who smartly used colors to represent 3D information of sea level spectra on the globe.</p>
<p>So, check out this new paper and the refrences therein if you are interested in colors!: <em>True Colors of Oceanography Guidelines for Effective and Accurate Colormap Selection</em> (2016) By Kristen M. Thyng, Chad A. Greene, Robert D. Hetland, Heather M. Zimmerle, and Steven F. DiMarco, <a href="http://dx.doi.org/10.5670/oceanog.2016.66">doi:10.5670/oceanog.2016.66</a></p>
<p>(<em>Pocahontas</em> is my second favorite Disney movie, yes, after <em>The Little Mermaid</em>) …</p>You can own the earth and stillThings reviewers say2016-09-25T00:00:00+00:002016-09-25T00:00:00+00:00https://selipot.github.io/blog/things-reviews-say<p>I found somehow reassuring to read in a <a href="https://eos.org/editors-vox/stuff-my-reviewers-say?utm_source=eos&utm_medium=email&utm_campaign=EosBuzz092316">blog post of EOS</a> that the Editor in Chief of Geophysical Research Letters, no less, recently had a manuscript rejected for publication. He wrote that <em>“this rejection was particularly deflating, both because I had invested two years in the science, and because two of the three reviewers dismissed the very conception of the analysis.”</em> I see this as being told that your paper sucks because your analysis sucks in the first place. <em>Ouch</em>. We’ve all had at least one terrible story about a particular set of reviews. It turns out that last week was <a href="https://peerreviewweek.wordpress.com">Peer Review Week</a>! Who knew?</p>
<p>What I found funny is that following this rejection one of his students introduced him to <a href="http://shitmyreviewerssay.tumblr.com">“Shit my reviewers say”</a>, the excellent tumblr account which is also on twitter as <a href="https://twitter.com/YourPaperSucks">@YourPaperSucks</a> and has been a favorite of mine for some time. If you did not know this wonderful resource of procrastination, happy reading!</p>I found somehow reassuring to read in a blog post of EOS that the Editor in Chief of Geophysical Research Letters, no less, recently had a manuscript rejected for publication. He wrote that “this rejection was particularly deflating, both because I had invested two years in the science, and because two of the three reviewers dismissed the very conception of the analysis.” I see this as being told that your paper sucks because your analysis sucks in the first place. Ouch. We’ve all had at least one terrible story about a particular set of reviews. It turns out that last week was Peer Review Week! Who knew?On the new standard of sharing your code2016-09-19T00:00:00+00:002016-09-19T00:00:00+00:00https://selipot.github.io/blog/the-new-standard-of-sharing-code<p>Scientists in general, and oceanographers in particular, have been used for many years to sharing “their” data. A few whine about how difficult it is to obtain funding and acquire the data, and as such should keep their exclusivity. They can for a few years, but in the end it is not really their data anyway, since they most likely originate from projects funded by tax payers, through governmental funding agencies.</p>
<p>Something new is happening though. Recently, as part of the last checks before one of our newest manuscript got accepted, we were asked by the journal editor to disclose the “availability of our code”. Obviously, stating that our messy, uncommented, code written for the commercial software MATLAB was not available, was not acceptable. I was first annoyed at the daunting task of putting together a sharable code but mostly I was surprised. I was surprised because our methods involved relatively standard statistical techniques and tools, and a few relatively unusual ones that were otherwise clearly referenced in our “methods” section. What I mean is that the references given in our article clearly spelled out the formulae used. As an example, I have become really fond of <em>kernel estimators</em> and the Nadaraya-Watson estimator with a Gaussian or an Epachnikov kernel has become my go-to for non-parametric curve estimation. The book <em>Local Polynomial Modelling and Its Applications</em> by Fan and Gijbels is a very nice introduction to these methods. So, in the end, not only do we have to say with words, or equations, what we did, but we also have to type it up for others. Isn’t that too much?</p>
<p>I am being sarcastic and it looks like this is the way forward anyway, so the old guard better adapt, and students better get acquainted right away with these methods. The goal is to improve reproducibility of results (especially in wet labs), and as such some journals have started to hire editors for that <a href="http://www.nature.com/news/why-scientists-must-share-their-research-code-1.20504">purpose</a>. Thank you to my colleague <a href="http://ryan.actualscience.net">Ryan Abernathey</a> for tweeting this article. In addition, it apperas that
one of the points of this movement is to improve the quality of scientific code. That means clear structure, organization, testing, comments, and documentation.
Scripps graduate student Cesar rocha’s recent project is apparently a very good <a href="https://github.com/crocha700/UpperOceanSeasonality">example</a>. Another example is veteran oceanographer <a href="http://web.uvic.ca/~jklymak">Jody Klymak</a> is making available a lot of his analysis code through his <a href="https://github.com/jklymak?tab=repositories">GitHub page</a>. Finally, my collaborator <a href="http://www.jmlilly.net">Jonathan Lilly</a> at NorthWest Research Associates has been working very hard for many years to put together his superb Matlab Toolbox called Jlab. It is distributed through <a href="http://www.mathworks.com/matlabcentral/fileexchange/52885-jlab--a-matlab-toolbox-for-data-analysis?requestedDomain=www.mathworks.com">Matworks File Exchange</a> but it is also on <a href="https://github.com/jonathanlilly/jLab">GitHub</a> for suggesting edits and modifications. GitHub watch out, here I come. (This site is hosted by <a href="https://pages.github.com">GitHub Pages</a>).</p>Scientists in general, and oceanographers in particular, have been used for many years to sharing “their” data. A few whine about how difficult it is to obtain funding and acquire the data, and as such should keep their exclusivity. They can for a few years, but in the end it is not really their data anyway, since they most likely originate from projects funded by tax payers, through governmental funding agencies.Launch of new personal site on GitHub2016-09-16T00:00:00+00:002016-09-16T00:00:00+00:00https://selipot.github.io/blog/shane-elipot-site-launched<p>I finally got around to put my new professional website together! It is powered by <a href="http://jekyllrb.com">Jekyll</a> and currently hosted, for free, on <a href="https://github.com">GitHub</a>. I browsed many resources to approximately understand how this works, and learned to use <a href="https://git-scm.com">git</a> at a basic level with the online tutorial <a href="https://try.github.io/levels/1/challenges/1">tryGit</a>. I followed the <a href="http://jmcglone.com/guides/github-pages/">simple tutorial</a> by Jonathan Mcglone, but then opted for the free Jekyll theme <a href="https://github.com/mmistakes/so-simple-theme">So Simple</a>. In the process, I downloaded a free text editor called <a href="https://atom.io">Atom</a> which I find very neat, at least on Mac OS X. You can easily download a package for Atom that will allow you to use Emacs keybindings, which I am used to.</p>I finally got around to put my new professional website together! It is powered by Jekyll and currently hosted, for free, on GitHub. I browsed many resources to approximately understand how this works, and learned to use git at a basic level with the online tutorial tryGit. I followed the simple tutorial by Jonathan Mcglone, but then opted for the free Jekyll theme So Simple. In the process, I downloaded a free text editor called Atom which I find very neat, at least on Mac OS X. You can easily download a package for Atom that will allow you to use Emacs keybindings, which I am used to.