roc-film 1.13.5__py3-none-any.whl → 1.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. roc/__init__.py +2 -1
  2. roc/film/__init__.py +2 -2
  3. roc/film/commands.py +372 -323
  4. roc/film/config/__init__.py +0 -1
  5. roc/film/constants.py +101 -65
  6. roc/film/descriptor.json +127 -96
  7. roc/film/exceptions.py +28 -27
  8. roc/film/tasks/__init__.py +16 -16
  9. roc/film/tasks/cat_solo_hk.py +86 -74
  10. roc/film/tasks/cdf_postpro.py +438 -309
  11. roc/film/tasks/check_dds.py +39 -45
  12. roc/film/tasks/db_to_anc_bia_sweep_table.py +381 -0
  13. roc/film/tasks/dds_to_l0.py +232 -180
  14. roc/film/tasks/export_solo_coord.py +147 -0
  15. roc/film/tasks/file_handler.py +91 -75
  16. roc/film/tasks/l0_to_hk.py +117 -103
  17. roc/film/tasks/l0_to_l1_bia_current.py +38 -30
  18. roc/film/tasks/l0_to_l1_bia_sweep.py +417 -329
  19. roc/film/tasks/l0_to_l1_sbm.py +250 -208
  20. roc/film/tasks/l0_to_l1_surv.py +185 -130
  21. roc/film/tasks/make_daily_tm.py +40 -37
  22. roc/film/tasks/merge_tcreport.py +77 -71
  23. roc/film/tasks/merge_tmraw.py +101 -88
  24. roc/film/tasks/parse_dds_xml.py +21 -20
  25. roc/film/tasks/set_l0_utc.py +51 -49
  26. roc/film/tests/cdf_compare.py +565 -0
  27. roc/film/tests/hdf5_compare.py +84 -62
  28. roc/film/tests/test_dds_to_l0.py +93 -51
  29. roc/film/tests/test_dds_to_tc.py +8 -11
  30. roc/film/tests/test_dds_to_tm.py +8 -10
  31. roc/film/tests/test_film.py +161 -116
  32. roc/film/tests/test_l0_to_hk.py +64 -36
  33. roc/film/tests/test_l0_to_l1_bia.py +10 -14
  34. roc/film/tests/test_l0_to_l1_sbm.py +14 -19
  35. roc/film/tests/test_l0_to_l1_surv.py +68 -41
  36. roc/film/tests/test_metadata.py +21 -20
  37. roc/film/tests/tests.py +743 -396
  38. roc/film/tools/__init__.py +5 -5
  39. roc/film/tools/dataset_tasks.py +34 -2
  40. roc/film/tools/file_helpers.py +390 -269
  41. roc/film/tools/l0.py +402 -324
  42. roc/film/tools/metadata.py +147 -127
  43. roc/film/tools/skeleton.py +12 -17
  44. roc/film/tools/tools.py +109 -92
  45. roc/film/tools/xlsx2skt.py +161 -139
  46. {roc_film-1.13.5.dist-info → roc_film-1.14.0.dist-info}/LICENSE +127 -125
  47. roc_film-1.14.0.dist-info/METADATA +60 -0
  48. roc_film-1.14.0.dist-info/RECORD +50 -0
  49. {roc_film-1.13.5.dist-info → roc_film-1.14.0.dist-info}/WHEEL +1 -1
  50. roc/film/tasks/l0_to_anc_bia_sweep_table.py +0 -348
  51. roc_film-1.13.5.dist-info/METADATA +0 -120
  52. roc_film-1.13.5.dist-info/RECORD +0 -48
@@ -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
@@ -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
- # than the name/alias of the output dataset in the descriptor
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
+ }