Mobile version



There are three examples below to help you manipulating the eddy files.
The examples can be downloaded here.

1: Allowing you the extraction of one eddy trajectory and store it in another file:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xarray as xr
import numpy as np
from datetime import datetime
# Load dataset with xarray
with xr.open_dataset('', decode_cf=False)  as h:   lon_min, lon_max, lat_min, lat_max = 1, 5, -28, -27 t = 25150 # Select a specific eddy with date and area, only some observations subset = h.sel(obs=(h.longitude > lon_min) & (h.longitude < lon_max) & (h.latitude > lat_min) & (h.latitude < lat_max) & (h.time == 25147)) # Extract full track subset = h.isel(obs=np.in1d(h.track, subset.track)) # Store selected data print(subset) subset.to_netcdf('')

2: Allowing you plotting the selected eddy trajectory:


#!/usr/bin/env python
# -*- coding: utf-8 -*-
import xarray as xr
from matplotlib import pyplot as plt
# Load dataset with xarray
ax = plt.subplot(111)
with xr.open_dataset('') as h:
    N = 20
    # plot contour every N
    ax.plot((h.speed_contour_longitude[::N].T + 180) % 360 - 180, h.speed_contour_latitude[::N].T, 'r')
    # plot path
    ax.plot((h.longitude + 180) % 360 - 180, h.latitude, 'b', label='eddy path')

3: More advanced: Allowing you plotting a given eddy filtered track superimposed to its real track, and selecting all eddies on an area and having lifespan more than 500 days or amplitude >40cm:

Rss feedsContactPartnersFAQLexiconLegal noticePersonal Data Protection PolicyMobile
You must enable cookies in your browser preferences to save the modifications
You are using an older version of Internet Explorer, please update to take full advantage of Aviso+ features

Customize the home page

View all widgets
Reduce display
Public profile
User profile

Select/Deselect widgets

Discover AVISO+

Customizable home, reading tools, products search guide, etc.. Discover step by step the features of the new site AVISO+.

Customizable homepage

This home page is composed of blocks called "widgets".

Rearrange the blocks with a "Click & Drop".

Hide a widget with the cross at the top right. Reset or add a widget with the "wrench" icon. The "User" and "Public" profiles offer a predefined organization.

All the modifications are automatically saved as cookies on your machine so as to enable you to have your own specific AVISO+.

Reading tools

Ease your reading by choosing the page background colour (black/white) and/or by modifying the font size.

Browsing menu and breadcrum trail

To ease your browsing through AVISO+, you can use at any time the main banner items with the interactive submenus or use the browsing menu on the left side of the screen (it is open by default). For more readiness of the page contents, you can fold and unfold the browsing menu by clicking on the tab. At any time you can know where you are thanks to the browsing menu or the breadcrum at the top of the page.

Products search guide

The first submenu of the "Data" banner item leads you to a new search form enabling you to find quickier the product that suits your needs. The list of results is updated according to your selection criteria.

AVISO+ Multimedia

The first submenu of the "Multimedia" banner item leads you to AVISO+ collections of images and videos linked to altimetry and its applications. Have a nice visit!