roc-film 1.13.5__py3-none-any.whl → 1.14.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- roc/__init__.py +2 -1
- roc/film/__init__.py +2 -2
- roc/film/commands.py +372 -323
- roc/film/config/__init__.py +0 -1
- roc/film/constants.py +101 -65
- roc/film/descriptor.json +127 -96
- roc/film/exceptions.py +28 -27
- roc/film/tasks/__init__.py +16 -16
- roc/film/tasks/cat_solo_hk.py +86 -74
- roc/film/tasks/cdf_postpro.py +438 -309
- roc/film/tasks/check_dds.py +39 -45
- roc/film/tasks/db_to_anc_bia_sweep_table.py +381 -0
- roc/film/tasks/dds_to_l0.py +232 -180
- roc/film/tasks/export_solo_coord.py +147 -0
- roc/film/tasks/file_handler.py +91 -75
- roc/film/tasks/l0_to_hk.py +117 -103
- roc/film/tasks/l0_to_l1_bia_current.py +38 -30
- roc/film/tasks/l0_to_l1_bia_sweep.py +417 -329
- roc/film/tasks/l0_to_l1_sbm.py +250 -208
- roc/film/tasks/l0_to_l1_surv.py +185 -130
- roc/film/tasks/make_daily_tm.py +40 -37
- roc/film/tasks/merge_tcreport.py +77 -71
- roc/film/tasks/merge_tmraw.py +101 -88
- roc/film/tasks/parse_dds_xml.py +21 -20
- roc/film/tasks/set_l0_utc.py +51 -49
- roc/film/tests/cdf_compare.py +565 -0
- roc/film/tests/hdf5_compare.py +84 -62
- roc/film/tests/test_dds_to_l0.py +93 -51
- roc/film/tests/test_dds_to_tc.py +8 -11
- roc/film/tests/test_dds_to_tm.py +8 -10
- roc/film/tests/test_film.py +161 -116
- roc/film/tests/test_l0_to_hk.py +64 -36
- roc/film/tests/test_l0_to_l1_bia.py +10 -14
- roc/film/tests/test_l0_to_l1_sbm.py +14 -19
- roc/film/tests/test_l0_to_l1_surv.py +68 -41
- roc/film/tests/test_metadata.py +21 -20
- roc/film/tests/tests.py +743 -396
- roc/film/tools/__init__.py +5 -5
- roc/film/tools/dataset_tasks.py +34 -2
- roc/film/tools/file_helpers.py +390 -269
- roc/film/tools/l0.py +402 -324
- roc/film/tools/metadata.py +147 -127
- roc/film/tools/skeleton.py +12 -17
- roc/film/tools/tools.py +109 -92
- roc/film/tools/xlsx2skt.py +161 -139
- {roc_film-1.13.5.dist-info → roc_film-1.14.0.dist-info}/LICENSE +127 -125
- roc_film-1.14.0.dist-info/METADATA +60 -0
- roc_film-1.14.0.dist-info/RECORD +50 -0
- {roc_film-1.13.5.dist-info → roc_film-1.14.0.dist-info}/WHEEL +1 -1
- roc/film/tasks/l0_to_anc_bia_sweep_table.py +0 -348
- roc_film-1.13.5.dist-info/METADATA +0 -120
- roc_film-1.13.5.dist-info/RECORD +0 -48
roc/film/tools/__init__.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env python3
|
2
2
|
# -*- coding: utf-8 -*-
|
3
3
|
|
4
|
-
from roc.film.tools.tools import *
|
5
|
-
from roc.film.tools.skeleton import *
|
6
|
-
from roc.film.tools.file_helpers import *
|
7
|
-
from roc.film.tools.metadata import *
|
8
|
-
from roc.film.tools.l0 import *
|
4
|
+
from roc.film.tools.tools import * # noqa: F403
|
5
|
+
from roc.film.tools.skeleton import * # noqa: F403
|
6
|
+
from roc.film.tools.file_helpers import * # noqa: F403
|
7
|
+
from roc.film.tools.metadata import * # noqa: F403
|
8
|
+
from roc.film.tools.l0 import * # noqa: F403
|
roc/film/tools/dataset_tasks.py
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
|
2
1
|
#!/usr/bin/env python3
|
3
2
|
# -*- coding: utf-8 -*-
|
4
3
|
|
5
4
|
# Import methods to extract data from RPW packets
|
6
5
|
# IMPORTANT: Make sure the name/alias of the imported function is the same
|
7
|
-
#
|
6
|
+
# as the name/alias of the output dataset in the descriptor
|
7
|
+
|
8
|
+
__all__ = ["dataset_func"]
|
9
|
+
|
8
10
|
from roc.rap.tasks.lfr.normal_burst import bp1 as l1_surv_bp1
|
9
11
|
from roc.rap.tasks.lfr.normal_burst import bp2 as l1_surv_bp2
|
10
12
|
from roc.rap.tasks.lfr.normal_burst import cwf as l1_surv_cwf
|
@@ -33,3 +35,33 @@ from roc.rap.tasks.lfr.sbm1 import cwf as l1_sbm1_cwf
|
|
33
35
|
from roc.rap.tasks.lfr.sbm2 import bp1 as l1_sbm2_bp1
|
34
36
|
from roc.rap.tasks.lfr.sbm2 import bp2 as l1_sbm2_bp2
|
35
37
|
from roc.rap.tasks.lfr.sbm2 import cwf as l1_sbm2_cwf
|
38
|
+
|
39
|
+
dataset_func = {
|
40
|
+
"l1_surv_bp1": l1_surv_bp1,
|
41
|
+
"l1_surv_bp2": l1_surv_bp2,
|
42
|
+
"l1_surv_cwf": l1_surv_cwf,
|
43
|
+
"l1_surv_swf": l1_surv_swf,
|
44
|
+
"l1_surv_asm": l1_surv_asm,
|
45
|
+
"l1_surv_rswf": l1_surv_rswf,
|
46
|
+
"l1_surv_tswf": l1_surv_tswf,
|
47
|
+
"l1_surv_mamp": l1_surv_mamp,
|
48
|
+
"l1_surv_stat": l1_surv_stat,
|
49
|
+
"l1_surv_hist1d": l1_surv_hist1d,
|
50
|
+
"l1_surv_hist2d": l1_surv_hist2d,
|
51
|
+
"l1_lfm_rswf": l1_lfm_rswf,
|
52
|
+
"l1_lfm_cwf": l1_lfm_cwf,
|
53
|
+
"l1_lfm_psd": l1_lfm_psd,
|
54
|
+
"l1_lfm_sm": l1_lfm_sm,
|
55
|
+
"l1_surv_tnr": l1_surv_tnr,
|
56
|
+
"l1_surv_hfr": l1_surv_hfr,
|
57
|
+
"l1_bia_sweep": l1_bia_sweep,
|
58
|
+
"l1_bia_current": l1_bia_current,
|
59
|
+
"l1_sbm1_rswf": l1_sbm1_rswf,
|
60
|
+
"l1_sbm2_tswf": l1_sbm2_tswf,
|
61
|
+
"l1_sbm1_bp1": l1_sbm1_bp1,
|
62
|
+
"l1_sbm1_bp2": l1_sbm1_bp2,
|
63
|
+
"l1_sbm1_cwf": l1_sbm1_cwf,
|
64
|
+
"l1_sbm2_bp1": l1_sbm2_bp1,
|
65
|
+
"l1_sbm2_bp2": l1_sbm2_bp2,
|
66
|
+
"l1_sbm2_cwf": l1_sbm2_cwf,
|
67
|
+
}
|