From b6c274cdfdc1c47b86d1c6b3611ac28b18843219 Mon Sep 17 00:00:00 2001 From: "Alexander Drozdov (Sasha)" Date: Thu, 7 Dec 2023 17:11:24 -0800 Subject: [PATCH] Notebook updated and executed for GEM --- .../comparison_with_published_results.ipynb | 320 ++++++------------ 1 file changed, 95 insertions(+), 225 deletions(-) diff --git a/pyspedas/mth5/examples/comparison_with_published_results.ipynb b/pyspedas/mth5/examples/comparison_with_published_results.ipynb index 85b7a8c7..0fd68763 100644 --- a/pyspedas/mth5/examples/comparison_with_published_results.ipynb +++ b/pyspedas/mth5/examples/comparison_with_published_results.ipynb @@ -10,7 +10,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 14, "outputs": [], "source": [ "# Uncomment the \"!pip install\" line below to use on Google Colab. Run this cell and restart the runtime kernel.\n", @@ -21,8 +21,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:38.770526700Z", - "start_time": "2023-12-07T23:50:38.623520800Z" + "end_time": "2023-12-08T01:10:32.632641700Z", + "start_time": "2023-12-08T01:10:32.383011900Z" } }, "id": "f954b061b31d55f" @@ -44,14 +44,14 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 15, "outputs": [ { "data": { "text/html": "", "text/plain": "" }, - "execution_count": 2, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -63,8 +63,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:38.777518900Z", - "start_time": "2023-12-07T23:50:38.638521200Z" + "end_time": "2023-12-08T01:10:32.700643700Z", + "start_time": "2023-12-08T01:10:32.399641600Z" } }, "id": "4b5395e8795dffc5" @@ -84,15 +84,15 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 16, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 17:09:11: Downloading remote index: http://themis.ssl.berkeley.edu/data/themis/thg/l2/mag/frd/2015/\n", - "07-Dec-23 17:09:11: File is current: c:\\work\\Data\\SPEDAS\\themis\\thg/l2/mag/frd/2015/thg_l2_mag_frd_20150622_v01.cdf\n", - "07-Dec-23 17:09:12: Time clip was applied to: thg_mag_frd\n" + "07-Dec-23 17:10:32: Downloading remote index: http://themis.ssl.berkeley.edu/data/themis/thg/l2/mag/frd/2015/\n", + "07-Dec-23 17:10:32: File is current: c:\\work\\Data\\SPEDAS\\themis\\thg/l2/mag/frd/2015/thg_l2_mag_frd_20150622_v01.cdf\n", + "07-Dec-23 17:10:33: Time clip was applied to: thg_mag_frd\n" ] }, { @@ -121,8 +121,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-08T01:09:12.995408900Z", - "start_time": "2023-12-08T01:09:11.542570300Z" + "end_time": "2023-12-08T01:10:33.437944100Z", + "start_time": "2023-12-08T01:10:32.417642800Z" } }, "id": "b391ea110180a18c" @@ -157,7 +157,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 17, "outputs": [ { "name": "stdout", @@ -168,10 +168,10 @@ }, { "data": { - "text/plain": "", + "text/plain": "", "text/html": "\n \n " }, - "execution_count": 4, + "execution_count": 17, "metadata": {}, "output_type": "execute_result" } @@ -196,8 +196,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:42.745710700Z", - "start_time": "2023-12-07T23:50:42.727711200Z" + "end_time": "2023-12-08T01:10:33.580905500Z", + "start_time": "2023-12-08T01:10:33.434908400Z" } }, "id": "204b25cd14a5d500" @@ -216,7 +216,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 18, "outputs": [ { "name": "stdout", @@ -227,10 +227,10 @@ }, { "data": { - "text/plain": "", + "text/plain": "", "text/html": "\n \n " }, - "execution_count": 5, + "execution_count": 18, "metadata": {}, "output_type": "execute_result" } @@ -244,8 +244,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:42.907709Z", - "start_time": "2023-12-07T23:50:42.742713100Z" + "end_time": "2023-12-08T01:10:33.582906300Z", + "start_time": "2023-12-08T01:10:33.460906900Z" } }, "id": "841fff1107a777a5" @@ -266,48 +266,48 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 19, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[33m\u001B[1m2023-12-07T15:50:43.648707-0800 | WARNING | mth5.mth5 | open_mth5 | 4P_REU49.h5 will be overwritten in 'w' mode\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:44.366711-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:47.980239-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:47.983226-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:47.998221-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.015225-0800 | INFO | mth5.groups.base | _add_group | RunGroup d already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.052228-0800 | INFO | mth5.groups.base | _add_group | RunGroup e already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.089224-0800 | INFO | mth5.groups.base | _add_group | RunGroup f already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:48.243189-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-14T19:23:39+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:48.244178-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-26T20:13:13+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:48.404272-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:48.582279-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:48.757327-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.819736-0800 | INFO | mth5.groups.base | _add_group | RunGroup g already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.857739-0800 | INFO | mth5.groups.base | _add_group | RunGroup h already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.900738-0800 | INFO | mth5.groups.base | _add_group | RunGroup i already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.932740-0800 | INFO | mth5.groups.base | _add_group | RunGroup o already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.951741-0800 | INFO | mth5.groups.base | _add_group | RunGroup p already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:48.978765-0800 | INFO | mth5.groups.base | _add_group | RunGroup q already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:49.004740-0800 | INFO | mth5.groups.base | _add_group | RunGroup r already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:49.110735-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:49.120738-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:34.530426-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49.h5 in mode w\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:38.691243-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:38.695243-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:38.717243-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:38.736246-0800 | INFO | mth5.groups.base | _add_group | RunGroup d already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:38.777244-0800 | INFO | mth5.groups.base | _add_group | RunGroup e already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:38.822243-0800 | INFO | mth5.groups.base | _add_group | RunGroup f already exists, returning existing group.\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:38.993761-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-14T19:23:39+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:38.995763-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-26T20:13:13+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:39.138762-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:39.321766-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:39.491806-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id f. Setting to ch.run_metadata.id to f\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.552025-0800 | INFO | mth5.groups.base | _add_group | RunGroup g already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.587026-0800 | INFO | mth5.groups.base | _add_group | RunGroup h already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.620624-0800 | INFO | mth5.groups.base | _add_group | RunGroup i already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.652587-0800 | INFO | mth5.groups.base | _add_group | RunGroup o already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.666632-0800 | INFO | mth5.groups.base | _add_group | RunGroup p already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.684586-0800 | INFO | mth5.groups.base | _add_group | RunGroup q already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.701587-0800 | INFO | mth5.groups.base | _add_group | RunGroup r already exists, returning existing group.\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:39.818587-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49.h5\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:39.823588-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 15:50:49: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\n" + "07-Dec-23 17:10:39: Removing cached c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\n", + "07-Dec-23 17:10:39: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:50:50.834853-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:41.992194-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\u001B[0m\n" ] }, { @@ -333,8 +333,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:51.338819900Z", - "start_time": "2023-12-07T23:50:42.759711300Z" + "end_time": "2023-12-08T01:10:42.454194600Z", + "start_time": "2023-12-08T01:10:33.484905900Z" } }, "id": "95addd7c8ec607a2" @@ -351,40 +351,13 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 20, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:50:51.769818-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:54.888396-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:54.892403-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:54.930405-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:54.964409-0800 | INFO | mth5.groups.base | _add_group | RunGroup c already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.126396-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-17T14:00:49+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.128398-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-28T15:26:26+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.358913-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id c. Setting to ch.run_metadata.id to c\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.599948-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id c. Setting to ch.run_metadata.id to c\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.787915-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id c. Setting to ch.run_metadata.id to c\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:55.852948-0800 | INFO | mth5.groups.base | _add_group | RunGroup d already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:55.883949-0800 | INFO | mth5.groups.base | _add_group | RunGroup e already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:50:55.964947-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:50:55.967951-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "07-Dec-23 15:50:55: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50_20150622T014500_20150622T022000.h5\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[1m2023-12-07T15:50:57.285084-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50_20150622T014500_20150622T022000.h5\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:43.869699-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50_20150622T014500_20150622T022000.h5\u001B[0m\n" ] }, { @@ -408,8 +381,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:57.684810300Z", - "start_time": "2023-12-07T23:50:51.340816300Z" + "end_time": "2023-12-08T01:10:44.281616900Z", + "start_time": "2023-12-08T01:10:42.448194700Z" } }, "id": "f30ff68ba9a328b0" @@ -428,7 +401,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 21, "outputs": [ { "data": { @@ -454,8 +427,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:50:58.123760800Z", - "start_time": "2023-12-07T23:50:57.684810300Z" + "end_time": "2023-12-08T01:10:44.711351900Z", + "start_time": "2023-12-08T01:10:44.285617400Z" } }, "id": "59e26e4cdff549b5" @@ -474,40 +447,13 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 22, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:50:58.596781-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:01.560210-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:01.563224-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:01.595216-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:01.735261-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-10T17:56:46+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:01.736216-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-22T19:02:43+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:01.880215-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:02.051217-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:02.261262-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:02.315244-0800 | INFO | mth5.groups.base | _add_group | RunGroup c already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:02.343261-0800 | INFO | mth5.groups.base | _add_group | RunGroup d already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:02.378218-0800 | INFO | mth5.groups.base | _add_group | RunGroup e already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:02.458240-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:02.462227-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "07-Dec-23 15:51:02: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48_20150622T014500_20150622T022000.h5\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[1m2023-12-07T15:51:03.792342-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48_20150622T014500_20150622T022000.h5\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:46.125053-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48_20150622T014500_20150622T022000.h5\u001B[0m\n" ] }, { @@ -528,8 +474,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:51:04.296253300Z", - "start_time": "2023-12-07T23:50:58.120755400Z" + "end_time": "2023-12-08T01:10:47.107611700Z", + "start_time": "2023-12-08T01:10:44.705352200Z" } }, "id": "f24fa5f6a8203d76" @@ -547,123 +493,45 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 23, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:51:04.933269-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_ALW49.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.051636-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:08.056676-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:08.084637-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:08.113677-0800 | INFO | mth5.groups.base | _add_group | RunGroup c already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:08.157639-0800 | INFO | mth5.groups.base | _add_group | RunGroup d already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:08.206636-0800 | INFO | mth5.groups.base | _add_group | RunGroup e already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.396643-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-17T19:01:16+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.398639-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-28T18:51:24+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.584167-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id e. Setting to ch.run_metadata.id to e\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.797213-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id e. Setting to ch.run_metadata.id to e\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:08.999318-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id e. Setting to ch.run_metadata.id to e\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:09.064317-0800 | INFO | mth5.groups.base | _add_group | RunGroup f already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:09.110363-0800 | INFO | mth5.groups.base | _add_group | RunGroup g already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:09.236318-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_ALW49.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:09.243526-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "07-Dec-23 15:51:09: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_ALW49_20150622T014500_20150622T022000.h5\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[1m2023-12-07T15:51:11.123571-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_ALW49_20150622T014500_20150622T022000.h5\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:12.543713-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50_20150622T014500_20150622T022000.h5\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:13.074805-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_REP47.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.171484-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:15.175452-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:15.207580-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.347481-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-09T17:48:15+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.348438-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-22T15:23:27+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.500463-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.679440-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.871510-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:15.928485-0800 | INFO | mth5.groups.base | _add_group | RunGroup c already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:15.988487-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REP47.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:15.992509-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "07-Dec-23 15:51:15: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_REP47_20150622T014500_20150622T022000.h5\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[1m2023-12-07T15:51:17.349686-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REP47_20150622T014500_20150622T022000.h5\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:19.028268-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48_20150622T014500_20150622T022000.h5\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:21.054416-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:21.564832-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5 in mode w\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:23.641235-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5\u001B[0m\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "07-Dec-23 15:51:23: Cannot initialize mth5 object\n", - "07-Dec-23 15:51:23: Error: fdsn_4P_TNU48 not found in memory.\n", - "07-Dec-23 15:51:23: fdsn_4P_TNU48_y is currently not in pytplot.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001B[1m2023-12-07T15:51:24.054233-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNV48.h5 in mode w\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:26.476993-0800 | WARNING | mth5.clients.fdsn | wrangle_runs_into_containers | More or less runs have been requested by the user than are defined in the metadata. Runs will be defined but only the requested run extents contain time series data based on the users request.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:26.478990-0800 | INFO | mth5.groups.base | _add_group | RunGroup a already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:26.505037-0800 | INFO | mth5.groups.base | _add_group | RunGroup b already exists, returning existing group.\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:26.723513-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | start time of dataset 2015-06-22T01:45:00+00:00 does not match metadata start 2015-06-13T19:23:10+00:00 updating metatdata value to 2015-06-22T01:45:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:26.725513-0800 | WARNING | mth5.timeseries.run_ts | validate_metadata | end time of dataset 2015-06-22T02:20:00+00:00 does not match metadata end 2015-06-26T14:20:02+00:00 updating metatdata value to 2015-06-22T02:20:00+00:00\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:26.913512-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:27.100598-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:27.276592-0800 | WARNING | mth5.groups.run | from_runts | Channel run.id sr1_001 != group run.id b. Setting to ch.run_metadata.id to b\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:27.344152-0800 | INFO | mth5.groups.base | _add_group | RunGroup c already exists, returning existing group.\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:27.416121-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNV48.h5\u001B[0m\n", - "\u001B[33m\u001B[1m2023-12-07T15:51:27.418123-0800 | WARNING | mth5.mth5 | filename | MTH5 file is not open or has not been created yet. Returning default name\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:48.698985-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_ALW49_20150622T014500_20150622T022000.h5\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:50.240249-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_GAW50_20150622T014500_20150622T022000.h5\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:51.417092-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REP47_20150622T014500_20150622T022000.h5\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:52.963568-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REQ48_20150622T014500_20150622T022000.h5\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:55.008611-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_REU49_20150622T014500_20150622T022000.h5\u001B[0m\n", + "\u001B[33m\u001B[1m2023-12-07T17:10:55.102612-0800 | WARNING | mth5.mth5 | open_mth5 | 4P_TNU48.h5 will be overwritten in 'w' mode\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:55.597131-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5 in mode w\u001B[0m\n", + "\u001B[1m2023-12-07T17:10:57.732696-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5\u001B[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 15:51:27: Creating cached c:\\work\\Data\\SPEDAS\\mth5\\4P_TNV48_20150622T014500_20150622T022000.h5\n" + "07-Dec-23 17:10:57: Cannot initialize mth5 object\n", + "07-Dec-23 17:10:57: Error: fdsn_4P_TNU48 not found in memory.\n", + "07-Dec-23 17:10:57: fdsn_4P_TNU48_y is currently not in pytplot.\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:51:28.571297-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNV48_20150622T014500_20150622T022000.h5\u001B[0m\n" + "\u001B[1m2023-12-07T17:10:58.959780-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNV48_20150622T014500_20150622T022000.h5\u001B[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 15:51:28: The name fdsn_4P_TNU48_y is currently not in pytplot\n", - "07-Dec-23 15:51:28: The name fdsn_4P_TNU48_y is currently not in pytplot\n", - "07-Dec-23 15:51:28: Variable not found: fdsn_4P_TNU48_y\n" + "07-Dec-23 17:10:59: The name fdsn_4P_TNU48_y is currently not in pytplot\n", + "07-Dec-23 17:10:59: The name fdsn_4P_TNU48_y is currently not in pytplot\n", + "07-Dec-23 17:10:59: Variable not found: fdsn_4P_TNU48_y\n" ] }, { @@ -690,8 +558,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:51:29.767345Z", - "start_time": "2023-12-07T23:51:04.302259Z" + "end_time": "2023-12-08T01:11:00.047928Z", + "start_time": "2023-12-08T01:10:47.104610700Z" } }, "id": "3f2d29c621731ee9" @@ -716,22 +584,22 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 24, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[33m\u001B[1m2023-12-07T15:51:29.774380-0800 | WARNING | mth5.mth5 | open_mth5 | 4P_TNU48.h5 will be overwritten in 'w' mode\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:30.275342-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5 in mode w\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:32.542682-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5\u001B[0m\n" + "\u001B[33m\u001B[1m2023-12-07T17:11:00.053926-0800 | WARNING | mth5.mth5 | open_mth5 | 4P_TNU48.h5 will be overwritten in 'w' mode\u001B[0m\n", + "\u001B[1m2023-12-07T17:11:00.749925-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5 in mode w\u001B[0m\n", + "\u001B[1m2023-12-07T17:11:02.805969-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU48.h5\u001B[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 15:51:32: Cannot initialize mth5 object\n" + "07-Dec-23 17:11:02: Cannot initialize mth5 object\n" ] }, { @@ -766,8 +634,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:51:32.567653100Z", - "start_time": "2023-12-07T23:51:29.771344Z" + "end_time": "2023-12-08T01:11:02.826971700Z", + "start_time": "2023-12-08T01:11:00.049927900Z" } }, "id": "80008ffaa68363cb" @@ -784,21 +652,22 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 25, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "\u001B[1m2023-12-07T15:51:32.955699-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU0.h5 in mode w\u001B[0m\n", - "\u001B[1m2023-12-07T15:51:33.233192-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU0.h5\u001B[0m\n" + "\u001B[33m\u001B[1m2023-12-07T17:11:02.827973-0800 | WARNING | mth5.mth5 | open_mth5 | 4P_TNU0.h5 will be overwritten in 'w' mode\u001B[0m\n", + "\u001B[1m2023-12-07T17:11:03.253970-0800 | INFO | mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU0.h5 in mode w\u001B[0m\n", + "\u001B[1m2023-12-07T17:11:03.535462-0800 | INFO | mth5.mth5 | close_mth5 | Flushing and closing c:\\work\\Data\\SPEDAS\\mth5\\4P_TNU0.h5\u001B[0m\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "07-Dec-23 15:51:33: Cannot initialize mth5 object\n" + "07-Dec-23 17:11:03: Cannot initialize mth5 object\n" ] }, { @@ -807,7 +676,8 @@ "text": [ "FDSN loading error: No data available for request.\n", "HTTP Status code: 204\n", - "Detailed response of server:\n" + "Detailed response of server:\n", + "\n" ] } ], @@ -817,8 +687,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2023-12-07T23:51:33.256677800Z", - "start_time": "2023-12-07T23:51:32.561654600Z" + "end_time": "2023-12-08T01:11:03.563823500Z", + "start_time": "2023-12-08T01:11:02.824972100Z" } }, "id": "7eb088c907a067d3"