roc-film 1.14.7__tar.gz → 1.15.0__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.7 → roc_film-1.15.0}/PKG-INFO +1 -1
  2. {roc_film-1.14.7 → roc_film-1.15.0}/pyproject.toml +1 -1
  3. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/descriptor.json +3 -3
  4. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/cdf_postpro.py +1 -1
  5. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/file_handler.py +8 -3
  6. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/file_helpers.py +1 -0
  7. {roc_film-1.14.7 → roc_film-1.15.0}/LICENSE +0 -0
  8. {roc_film-1.14.7 → roc_film-1.15.0}/README.md +0 -0
  9. {roc_film-1.14.7 → roc_film-1.15.0}/roc/__init__.py +0 -0
  10. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/__init__.py +0 -0
  11. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/commands.py +0 -0
  12. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/config/__init__.py +0 -0
  13. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/constants.py +0 -0
  14. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/exceptions.py +0 -0
  15. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/__init__.py +0 -0
  16. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/cat_solo_hk.py +0 -0
  17. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/check_dds.py +0 -0
  18. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/db_to_anc_bia_sweep_table.py +0 -0
  19. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/dds_to_l0.py +0 -0
  20. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/export_solo_coord.py +0 -0
  21. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/l0_to_hk.py +0 -0
  22. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/l0_to_l1_bia_current.py +0 -0
  23. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/l0_to_l1_bia_sweep.py +0 -0
  24. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/l0_to_l1_sbm.py +0 -0
  25. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/l0_to_l1_surv.py +0 -0
  26. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/make_daily_tm.py +0 -0
  27. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/merge_tcreport.py +0 -0
  28. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/merge_tmraw.py +0 -0
  29. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/parse_dds_xml.py +0 -0
  30. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tasks/set_l0_utc.py +0 -0
  31. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/__init__.py +0 -0
  32. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/cdf_compare.py +0 -0
  33. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/hdf5_compare.py +0 -0
  34. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_dds_to_l0.py +0 -0
  35. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_dds_to_tc.py +0 -0
  36. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_dds_to_tm.py +0 -0
  37. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_film.py +0 -0
  38. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_l0_to_hk.py +0 -0
  39. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_l0_to_l1_bia.py +0 -0
  40. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_l0_to_l1_sbm.py +0 -0
  41. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_l0_to_l1_surv.py +0 -0
  42. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/test_metadata.py +0 -0
  43. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tests/tests.py +0 -0
  44. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/__init__.py +0 -0
  45. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/dataset_tasks.py +0 -0
  46. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/l0.py +0 -0
  47. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/metadata.py +0 -0
  48. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/skeleton.py +0 -0
  49. {roc_film-1.14.7 → roc_film-1.15.0}/roc/film/tools/tools.py +0 -0
  50. {roc_film-1.14.7 → roc_film-1.15.0}/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.7
3
+ Version: 1.15.0
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.7"
7
+ version = "1.15.0"
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.7",
10
- "date": "2025-03-21",
9
+ "version": "1.15.0",
10
+ "date": "2025-04-29",
11
11
  "author": "Xavier Bonnin <xavier.bonnin@obspm.fr>, ROC Team <roc.support@sympa.obspm.fr>",
12
- "modification": "Hotfix in db_to_anc_bia_sweep_table.py",
12
+ "modification": "Add -compressnonepoch to cdfconvert in cdf_postpro",
13
13
  "url": "https://gitlab.obspm.fr/ROC/Pipelines/Plugins/FILM"
14
14
  },
15
15
  "tasks": [
@@ -315,7 +315,7 @@ class CdfPostPro(Task):
315
315
  # Force some CDF features
316
316
  cmd.append("-network")
317
317
  cmd.append("-single")
318
- cmd.append("-compression \"var:'Epoch':none\"")
318
+ cmd.append("-compressnonepoch")
319
319
  cmd.append("-checksum md5")
320
320
  cmd = " ".join(cmd)
321
321
 
@@ -6,6 +6,7 @@
6
6
  import os
7
7
  import shutil
8
8
  import uuid
9
+ from pathlib import Path
9
10
 
10
11
  from poppy.core.logger import logger
11
12
  from poppy.core.task import Task
@@ -50,8 +51,8 @@ class MoveToProdDir(Task):
50
51
  # shall be moved
51
52
  products_dir = get_products_dir(self.pipeline)
52
53
 
53
- # Ignore possible lock file in the output directory
54
- ignore_patterns = ["*.lock"]
54
+ # Ignore possible items in the output directory
55
+ ignore_patterns = []
55
56
 
56
57
  if not products_dir:
57
58
  logger.debug(
@@ -63,6 +64,10 @@ class MoveToProdDir(Task):
63
64
  logger.debug(f"Moving {output_dir} into {products_dir}")
64
65
  if safe_move(output_dir, target_dir, ignore_patterns=ignore_patterns):
65
66
  logger.info(f"{output_dir} moved into {products_dir}")
67
+ # Finally remove any lock file from target_dir
68
+ for current_lock in Path(target_dir).glob("*.lock"):
69
+ current_lock.unlink(missing_ok=True)
70
+ logger.debug(f"{current_lock} deleted")
66
71
 
67
72
  logger.debug(f"Task {self.job_id} completed")
68
73
 
@@ -92,7 +97,7 @@ class MoveFailedFiles(Task):
92
97
  logger.debug(f"Task {self.job_id} is starting")
93
98
  try:
94
99
  self.setup_inputs()
95
- except Exception:
100
+ except Exception: # noqa
96
101
  logger.exception(f"Initializing inputs has failed for {self.job_id}!")
97
102
  self.pipeline.exit()
98
103
  return
@@ -55,6 +55,7 @@ __all__ = [
55
55
  "get_l0_file",
56
56
  "get_l0_files",
57
57
  "get_output_dir",
58
+ "get_products_dir",
58
59
  "get_master_cdf_dir",
59
60
  "is_output_dir",
60
61
  "get_files_datetime",
File without changes
File without changes
File without changes