Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix corrupted input #71

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Bugfix corrupted input #71

merged 4 commits into from
Mar 11, 2024

Conversation

agrouaze
Copy link
Member

@agrouaze agrouaze commented Mar 11, 2024

  • improve figures from GeoDataFrame returned.
  • adapt lib to Sentinel-2
  • Fix issue detected on the SARL2P chain:
[2024-03-11 16:01:10,497] {base_task_runner.py:98} INFO - Subtask:     set -e
[2024-03-11 16:01:10,498] {base_task_runner.py:98} INFO - Subtask:     hostname
[2024-03-11 16:01:10,498] {base_task_runner.py:98} INFO - Subtask:     schedul_date=20240311
[2024-03-11 16:01:10,498] {base_task_runner.py:98} INFO - Subtask:     /home1/datawork/satwave/miniconda3_v2/envs/py3.11_cdse_download/bin/python /home1/datahome/satwave/sources_en_exploitation2/cdsodatacli/tests_metiers/download_multithread_multiuser.py --listing /home/datawork-cersat-public/cache/public/ftp/project/sarwing/reports/missings.txt --outputdir /home/datawork-cersat-public/cache/project/mpc-sentinel1/workspace/spool_datarmor/ --logingroup loginsbackfill
[2024-03-11 16:01:10,498] {base_task_runner.py:98} INFO - Subtask:     echo 'done'
[2024-03-11 16:01:10,499] {base_task_runner.py:98} INFO - Subtask:     
[2024-03-11 16:01:10,501] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:10,501] {bash_operator.py:97} INFO - Output:
[2024-03-11 16:01:10,506] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:10,505] {bash_operator.py:101} INFO - br156-249
[2024-03-11 16:01:26,962] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,959] {bash_operator.py:101} INFO - 11/03/2024 16:01:26 INFO download_multithread_multiuser.py(67) listing: /home/datawork-cersat-public/cache/public/ftp/project/sarwing/reports/missings.txt
[2024-03-11 16:01:26,966] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,962] {bash_operator.py:101} INFO - 11/03/2024 16:01:26 INFO download_multithread_multiuser.py(73) logins_group : 4
[2024-03-11 16:01:26,973] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,973] {bash_operator.py:101} INFO - Traceback (most recent call last):
[2024-03-11 16:01:26,974] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,973] {bash_operator.py:101} INFO - File "/home1/datahome/satwave/sources_en_exploitation2/cdsodatacli/tests_metiers/download_multithread_multiuser.py", line 78, in <module>
[2024-03-11 16:01:26,975] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,974] {bash_operator.py:101} INFO - inputdf = add_missing_cdse_hash_ids_in_listing(listing_path=listing)
[2024-03-11 16:01:26,975] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,974] {bash_operator.py:101} INFO - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-03-11 16:01:26,976] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,975] {bash_operator.py:101} INFO - File "/home1/datawork/satwave/miniconda3_v2/envs/py3.11_cdse_download/lib/python3.11/site-packages/cdsodatacli/download.py", line 519, in add_missing_cdse_hash_ids_in_listing
[2024-03-11 16:01:26,977] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,976] {bash_operator.py:101} INFO - "start_datetime": [ExplodeSAFE(jj).startdate - delta for jj in list_safe_a],
[2024-03-11 16:01:26,978] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,976] {bash_operator.py:101} INFO - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-03-11 16:01:26,978] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,977] {bash_operator.py:101} INFO - File "/home1/datawork/satwave/miniconda3_v2/envs/py3.11_cdse_download/lib/python3.11/site-packages/cdsodatacli/download.py", line 519, in <listcomp>
[2024-03-11 16:01:26,979] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,977] {bash_operator.py:101} INFO - "start_datetime": [ExplodeSAFE(jj).startdate - delta for jj in list_safe_a],
[2024-03-11 16:01:26,980] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,977] {bash_operator.py:101} INFO - ^^^^^^^^^^^^^^^
[2024-03-11 16:01:26,980] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,978] {bash_operator.py:101} INFO - File "/home1/datawork/satwave/miniconda3_v2/envs/py3.11_cdse_download/lib/python3.11/site-packages/cdsodatacli/product_parser.py", line 33, in __init__
[2024-03-11 16:01:26,981] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,979] {bash_operator.py:101} INFO - raise Exception("need basename not full path")
[2024-03-11 16:01:26,982] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:26,979] {bash_operator.py:101} INFO - Exception: need basename not full path
[2024-03-11 16:01:27,418] {base_task_runner.py:98} INFO - Subtask: [2024-03-11 16:01:27,417] {bash_operator.py:105} INFO - Command exited with return code 1

@agrouaze agrouaze self-assigned this Mar 11, 2024
@agrouaze agrouaze added bug Something isn't working enhancement New feature or request labels Mar 11, 2024
@agrouaze agrouaze merged commit 6387024 into main Mar 11, 2024
@agrouaze agrouaze deleted the bugfix_corrupted_input branch June 9, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant