{ "cells": [ { "cell_type": "markdown", "id": "b742582b-17be-4f87-a154-02f49de1f4d4", "metadata": {}, "source": [ "# Convert Amda parameters to build dataset as in tao-datasets\n", "\n", "We would like to plot the Solar Orbiter source. But we need some dataset formated as expected, with following parameters:\n", "\n", " ncdump -h file.nc\n", " \n", " float V(Time) ; V:units = \"km/s\" ;\n", " float B(Time) ; B:units = \"nT\" ;\n", " float N(Time) ; N:units = \"cm-3\" ;\n", " float T(Time) ; T:units = \"eV\" ;\n", " float Delta_angle(Time) ; Delta_angle:units = \"degrees\" ;\n", " float P_dyn(Time) ; P_dyn:units = \"nPa\" ;\n", " \n", "\n", "For the solar obiter data set found on amda, this is like:\n", "|Expected parama |Amda Param|\n", "|--- |------|\n", "|V |pas_momgr1_v_rtn|\n", "|B|solo_b_rtn_tot|\n", "|N|pas_momgr_n|\n", "|T|pas_mom_tav|\n", "|Delta_angle|None|\n", "|P_dyn|None|" ] }, { "cell_type": "code", "execution_count": 1, "id": "b2ad3c08-2795-4419-b5b2-71e4b579a2ab", "metadata": {}, "outputs": [], "source": [ "\n", "from speasy import amda" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "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.10.12" } }, "nbformat": 4, "nbformat_minor": 5 }