roc-film 1.14.4__tar.gz → 1.14.6__tar.gz

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 (50) hide show
  1. {roc_film-1.14.4 → roc_film-1.14.6}/PKG-INFO +1 -1
  2. {roc_film-1.14.4 → roc_film-1.14.6}/pyproject.toml +1 -1
  3. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/descriptor.json +3 -3
  4. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/file_handler.py +4 -4
  5. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/file_helpers.py +2 -2
  6. {roc_film-1.14.4 → roc_film-1.14.6}/LICENSE +0 -0
  7. {roc_film-1.14.4 → roc_film-1.14.6}/README.md +0 -0
  8. {roc_film-1.14.4 → roc_film-1.14.6}/roc/__init__.py +0 -0
  9. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/__init__.py +0 -0
  10. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/commands.py +0 -0
  11. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/config/__init__.py +0 -0
  12. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/constants.py +0 -0
  13. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/exceptions.py +0 -0
  14. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/__init__.py +0 -0
  15. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/cat_solo_hk.py +0 -0
  16. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/cdf_postpro.py +0 -0
  17. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/check_dds.py +0 -0
  18. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/db_to_anc_bia_sweep_table.py +0 -0
  19. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/dds_to_l0.py +0 -0
  20. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/export_solo_coord.py +0 -0
  21. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/l0_to_hk.py +0 -0
  22. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/l0_to_l1_bia_current.py +0 -0
  23. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/l0_to_l1_bia_sweep.py +0 -0
  24. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/l0_to_l1_sbm.py +0 -0
  25. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/l0_to_l1_surv.py +0 -0
  26. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/make_daily_tm.py +0 -0
  27. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/merge_tcreport.py +0 -0
  28. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/merge_tmraw.py +0 -0
  29. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/parse_dds_xml.py +0 -0
  30. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tasks/set_l0_utc.py +0 -0
  31. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/__init__.py +0 -0
  32. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/cdf_compare.py +0 -0
  33. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/hdf5_compare.py +0 -0
  34. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_dds_to_l0.py +0 -0
  35. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_dds_to_tc.py +0 -0
  36. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_dds_to_tm.py +0 -0
  37. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_film.py +0 -0
  38. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_l0_to_hk.py +0 -0
  39. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_l0_to_l1_bia.py +0 -0
  40. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_l0_to_l1_sbm.py +0 -0
  41. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_l0_to_l1_surv.py +0 -0
  42. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/test_metadata.py +0 -0
  43. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tests/tests.py +0 -0
  44. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/__init__.py +0 -0
  45. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/dataset_tasks.py +0 -0
  46. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/l0.py +0 -0
  47. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/metadata.py +0 -0
  48. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/skeleton.py +0 -0
  49. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/tools.py +0 -0
  50. {roc_film-1.14.4 → roc_film-1.14.6}/roc/film/tools/xlsx2skt.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: roc-film
3
- Version: 1.14.4
3
+ Version: 1.14.6
4
4
  Summary: RPW FILe Maker (FILM): Plugin to make RPW L0, L1 and HK data files
5
5
  License: CECILL-2.1
6
6
  Author: Xavier Bonnin
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "roc-film"
7
- version = "1.14.4"
7
+ version = "1.14.6"
8
8
  readme = "README.md"
9
9
  license = "CECILL-2.1"
10
10
  repository = "https://gitlab.obspm.fr/ROC/Pipelines/Plugins/FILM"
@@ -6,10 +6,10 @@
6
6
  "description": "RPW FILe Maker (FILM): Plugin to make RPW L0, L1 and HK data files"
7
7
  },
8
8
  "release": {
9
- "version": "1.14.4",
10
- "date": "2025-03-13",
9
+ "version": "1.14.6",
10
+ "date": "2025-03-20",
11
11
  "author": "Xavier Bonnin <xavier.bonnin@obspm.fr>, ROC Team <roc.support@sympa.obspm.fr>",
12
- "modification": "filtering event requested from event_log in cdf_postpro _set_bitmask",
12
+ "modification": "Change Parents setting in l0_to_trange_cdf",
13
13
  "url": "https://gitlab.obspm.fr/ROC/Pipelines/Plugins/FILM"
14
14
  },
15
15
  "tasks": [
@@ -38,7 +38,7 @@ class MoveToProdDir(Task):
38
38
  # See if --no-move keyword is defined
39
39
  no_move = self.pipeline.get("no_move", default=False, args=True)
40
40
  if no_move:
41
- logger.info(
41
+ logger.debug(
42
42
  f'--no-move is passed: skip current task "move_to_products_dir"\t[{self.job_id}]'
43
43
  )
44
44
  return
@@ -51,16 +51,16 @@ class MoveToProdDir(Task):
51
51
  products_dir = get_products_dir(self.pipeline)
52
52
 
53
53
  # Ignore possible lock file in the output directory
54
- ignore_patterns = "*.lock"
54
+ ignore_patterns = ["*.lock"]
55
55
 
56
56
  if not products_dir:
57
- logger.info(
57
+ logger.debug(
58
58
  f'products_dir argument not defined: Skip current task "move_to_products_dir"\t[{self.job_id}]'
59
59
  )
60
60
  else:
61
61
  output_dirbasename = os.path.basename(output_dir)
62
62
  target_dir = os.path.join(products_dir, output_dirbasename)
63
- logger.info(f"Moving {output_dir} into {products_dir}")
63
+ logger.debug(f"Moving {output_dir} into {products_dir}")
64
64
  if safe_move(output_dir, target_dir, ignore_patterns=ignore_patterns):
65
65
  logger.info(f"{output_dir} moved into {products_dir}")
66
66
 
@@ -753,7 +753,7 @@ def l0_to_trange_cdf(
753
753
  data = order_by_increasing_time(data, unique=unique)
754
754
 
755
755
  # Generation date
756
- generation_date = datetime.utcnow().strftime(INPUT_DATETIME_STRFTIME)
756
+ generation_date = datetime.now().strftime(INPUT_DATETIME_STRFTIME)
757
757
  logger.debug(
758
758
  f'Set "Generation_date" attr. value to {generation_date}\t[{task.job_id}]'
759
759
  )
@@ -785,7 +785,7 @@ def l0_to_trange_cdf(
785
785
  end_time.strftime(CDF_TRANGE_STRFORMAT),
786
786
  ]
787
787
  )
788
- l0_parents = "L0>" + ", ".join(parents)
788
+ l0_parents = [f"HDF5>{Path(parent).stem}" for parent in parents]
789
789
 
790
790
  # Set CDF global attributes using first l0_file metadata in the list
791
791
  with h5py.File(l0_file_list[0], "r") as l0:
File without changes
File without changes
File without changes