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

1 output sublist did not have a valid 'description' and will be removed! #4

Closed
Jean-Romain opened this issue May 2, 2022 · 3 comments
Labels

Comments

@Jean-Romain
Copy link

I tried again the first vignette with the correct locale. I got:

rgt_winter = time_specific_orbits(date_from = start_date_w,
                                  date_to = end_date_w,
                                  RGT_cycle = NULL,
                                  download_method = 'curl',
                                  threads = parallel::detectCores(),
                                  verbose = TRUE)
#> The available Icesat-2 orbits will be red from 'https://icesat-2.gsfc.nasa.gov/science/specs' ... 
#> Access the data of the technical specs website ...
#> Extract the .zip files and the corresponding titles ...
#> Keep the relevant data from the url's and titles ...
#> Process the nominal and time specific orbits separately ...
#> Adjust the Dates of the time specific orbits ...
#> Create the nominal orbits data.table ...
#> Create the time specific orbits data.table ...
#> Return a single data.table ...
#> Elapsed time: 0 hours and 0 minutes and 0 seconds. 
#> ICESAT-2 orbits: 'Earliest-Date' is '2018-10-13'  'Latest-Date' is '2022-09-20' 
#> -----------------------------------------------------
#> The .zip file of 'RGT_cycle_9' will be downloaded ... 
#> -----------------------------------------------------
#>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#>                                  Dload  Upload   Total   Spent    Left  Speed
#> 100  140M  100  140M    0     0  1201k      0  0:01:59  0:01:59 --:--:-- 1340k
#> The downloaded .zip file will be extracted in the '/tmp/RtmphQC1V2/RGT_cycle_9' directory ... 
#> Download and unzip the RGT_cycle_9 .zip file: Elapsed time: 0 hours and 2 minutes and 2 seconds. 
#> 138 .kml files will be processed ... 
#> Parallel processing of 138 .kml files using  4  threads starts ... 
#> 1 output sublist did not have a valid 'description' and will be removed!
#> 1 output sublist did not have a valid 'description' and will be removed!
#> 1 output sublist did not have a valid 'description' and will be removed!
#> 1 output sublist did not have a valid 'description' and will be removed!
#> 1 output sublist did not have a valid 'description' and will be removed!
#>  138 times the same message

I got again and again and again the same message for each successive download. I got 824 times the same message for RGT_cycle_9 and so on. At the end rgt_winter looks legit

@github-actions github-actions bot added the triage label May 2, 2022
@mlampros
Copy link
Owner

mlampros commented May 2, 2022

I stumbled upon an error case during the setup of binder
Although in my Operating System this message does not occur, in the binder image I observed that an additional sublist during the processing of the .kml files is included (this sublist does not have the same format as the majority). What are the dimensions of the output "rgt_winter" object?

@Jean-Romain
Copy link
Author

It is correct it contains 91390 features and 14 fields

@mlampros
Copy link
Owner

mlampros commented Jun 10, 2022

it seems this was not an issue as it was related to the warning that was added during the binder configuration (one of the sublists does not have the same format as the remaining - LINESTRING rather than POINT). This issue is also similar to #9

I close this issue for now. Feel free to re-open it in case the code does not work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants