uw-echospace / ooi-workflow

MIT License
1 stars 1 forks source link

Getting wrong number of files on larger date range #1

Closed Ishank09 closed 7 months ago

Ishank09 commented 7 months ago

If given any date other than the one shown in the image, the number of files is incorrect.

image

When inputting the start date and end date as: start_datetime = dt.datetime(2016, 8, 21, 0, 0) end_datetime = dt.datetime(2017, 8, 22, 0, 0)

the number of raw files coming is 2. This is incorrect, as monthly files were around 30.

Need to check the logic for getting files from the server.

sagnikgh1899 commented 7 months ago

Fixed the logic for getting the correct number of files for any given date range. See commit: https://github.com/uw-echospace/ooi-workflow/commit/5ceb7128eafbd7c2ad41a3e909368c44213d3d0d