Commit 2e18ae1e authored by PIOLLE's avatar PIOLLE
Browse files

added notebook session

parent 31437bf5
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Opening multiple features\n",
"\n",
"It is possible to open multiple features corresponding to a continuous series of acquisition as one single merged feature. For instance, several consecutive altimeter tracks can be opened as one single trajectory feature: "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# let's select an ordered list of altimeter tracks\n",
"import glob\n",
"track_list = glob.glob('/home/datawork-cersat-public/provider/cci_seastate/processing/v2/altimeter/retracking/l2p/saral/2017/001/ESACCI-SEASTATE-L2P-SWH-*.nc')\n",
"track_list.sort()\n",
"\n",
"# open with cerbere as a single Trajectory : all files will be concatenated along `time` dimension\n",
"import cerbere\n",
"traj = cerbere.open_as_feature('Trajectory', track_list)\n",
"\n",
"# display with cerplot\n",
"import cerplot\n",
"cerplot.display(traj)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "testx",
"language": "python",
"name": "testx"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment