roc-film 1.14.5__py3-none-any.whl → 1.14.6__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.
roc/film/descriptor.json CHANGED
@@ -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.5",
10
- "date": "2025-03-14",
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": "Hotfix in file_handler task",
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": [
@@ -60,7 +60,7 @@ class MoveToProdDir(Task):
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"debug {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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: roc-film
3
- Version: 1.14.5
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
@@ -3,7 +3,7 @@ roc/film/__init__.py,sha256=XBPsnRsgcUjJnutv_tkgNViw2TqnA5ozO-bNO2HY-mg,143
3
3
  roc/film/commands.py,sha256=xzyARalgWc6mPfN5nUvDtqTzaovP2_Xbi6wCDsS4tVY,37019
4
4
  roc/film/config/__init__.py,sha256=Yh8cG85CwN7OIAndtBs213LZn5NwEjPjFYKpMnagJuc,68
5
5
  roc/film/constants.py,sha256=wDM0-UbKxNvs03uoabi0oHhOHNNNp8oPnBeRMkjXefc,4278
6
- roc/film/descriptor.json,sha256=bUJ5H3kzXVjj0FqqTHlT7U11YXZ1z4ity5XGkLZJUR0,33495
6
+ roc/film/descriptor.json,sha256=cgF6R-hYAnTNarJAy1HjfbDt0FFn35raYd67lnxn6UA,33510
7
7
  roc/film/exceptions.py,sha256=kGWP9VR_DjDdyZYC5gDixtvV7xAv7qEx5srzS4_8TlU,5177
8
8
  roc/film/tasks/__init__.py,sha256=GNuQAi7E9nOApSSUUg4DEKlY0OlOzVaJexFKK0h9A2c,961
9
9
  roc/film/tasks/cat_solo_hk.py,sha256=PX3HkyJCgFHrw_wwa44r_tWcXQ7jCbd6oiZGS8KRXfI,11227
@@ -12,7 +12,7 @@ roc/film/tasks/check_dds.py,sha256=pb0YZGu_cqPL2-Vi5aUaXAFJy86R2rOLVVaXnTLArug,3
12
12
  roc/film/tasks/db_to_anc_bia_sweep_table.py,sha256=o-rJpj1VzS9azAT_EiWL9fxaZQt2qaArKtGiLMHv3S4,12781
13
13
  roc/film/tasks/dds_to_l0.py,sha256=nhsBESTlkEqiKAVVKek2oXe5neLFet1nTVsTiGTm1zY,22120
14
14
  roc/film/tasks/export_solo_coord.py,sha256=iuUfyQo3-vkdEdDsp2ZscFxsDVvdZJXxF0K-5IRQitw,5753
15
- roc/film/tasks/file_handler.py,sha256=kGZfJSMxRJnxjkBJZwNcDB4Uoa0pat4D8Trq8676WRM,11119
15
+ roc/film/tasks/file_handler.py,sha256=T_zEVLMFpqCqmNsLQSMqLWQIYlQH3-ZBDgbl7yCJKWc,11121
16
16
  roc/film/tasks/l0_to_hk.py,sha256=bn9hYHmxGJWBuj_uYovkI9lnonQeplsr4_apxkK1YuA,11001
17
17
  roc/film/tasks/l0_to_l1_bia_current.py,sha256=GS6GvukagltY1CUW__b2CX-nBAYjOxxaatfppP5gmVg,2564
18
18
  roc/film/tasks/l0_to_l1_bia_sweep.py,sha256=VYjD_ml2M0K7WA7I4UKsmrm4cvxArYRBazmzuNs7_vs,34980
@@ -38,13 +38,13 @@ roc/film/tests/test_metadata.py,sha256=1nl5or5RPMsIgMqtvYz28qdZXVgjYw6olphMm6y8W
38
38
  roc/film/tests/tests.py,sha256=boEPC42mZYQfinYE3jyol-7O34ttU5p_Ei0a_9YUHM4,44273
39
39
  roc/film/tools/__init__.py,sha256=dkYmLgy3b_B1T3ZZ6s_rv7NyDjLF0yOJPerjLEKAFlA,303
40
40
  roc/film/tools/dataset_tasks.py,sha256=CI9UIYchLwXfcjJoD8PsaFIcNX8akAsXz4RQ4hqhJeU,2825
41
- roc/film/tools/file_helpers.py,sha256=NJlinZzTORa-zteQ3qHufu6DK1wSWBkg9U2XzP2_vgE,31876
41
+ roc/film/tools/file_helpers.py,sha256=frCBNdIp9AOYnmVbhk9VE9hkDa1l9IGM7sQuhzjqf_U,31898
42
42
  roc/film/tools/l0.py,sha256=a5xxk3BYxtwOeZp36AoDPtF07VZpXfyKrpIYcC83u6w,46657
43
43
  roc/film/tools/metadata.py,sha256=gYFoo_VinBFoJOVIBwDfSqq0WvYTdDaS3NjEDtYREUM,12409
44
44
  roc/film/tools/skeleton.py,sha256=aTe6VWvy5Y79FuA3aKieTQ91m26PEvJ3MnzC4ZZqMvc,10765
45
45
  roc/film/tools/tools.py,sha256=b273WwDvxdowH9d8BqJX9REI3TpI7lzFsTviO23hzv4,18252
46
46
  roc/film/tools/xlsx2skt.py,sha256=sHmFLGuL1pT1N4V4Nk8i7yoHM2lveXphuvUUN28MvJs,19599
47
- roc_film-1.14.5.dist-info/LICENSE,sha256=TqI0k3vHsKpSR-Q2aQ0euTJIdbx1kOzeUL79OONRkKU,21778
48
- roc_film-1.14.5.dist-info/METADATA,sha256=W3OEiQfHIOJ_yZI5j_0Eox08-m7EtU6KcOeUrL6o_q0,1805
49
- roc_film-1.14.5.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
50
- roc_film-1.14.5.dist-info/RECORD,,
47
+ roc_film-1.14.6.dist-info/LICENSE,sha256=TqI0k3vHsKpSR-Q2aQ0euTJIdbx1kOzeUL79OONRkKU,21778
48
+ roc_film-1.14.6.dist-info/METADATA,sha256=jMBkDgmR_59w7SJkhr67nO6HIezZwgzMTYdSaATwsSQ,1805
49
+ roc_film-1.14.6.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
50
+ roc_film-1.14.6.dist-info/RECORD,,