Moving some of the file management stuff from sds-data-manager to this repo for wider use. I'd appreciate a close review from @bourque, @greglucas, and @tech3371 to make sure this lines up with what they are expecting
Overview
Added new file_validation.py file, with a shared ScienceFilepathManager class (copied from Tenzin's work on sds-manager, I need to add her and Laura as coauthors actually), which I refactored slightly for more wide adoption. Also added some useful shared methods in that file and a list of valid instruments and levels.
New Dependencies
I moved the project to poetry (don't leave me unattended) to match the other projects. No new dependencies there though
New Files
imap_data_access/file_validation.py
Updated Files
imap_data_access/io.py
updated to move some logic out of the function and use the new shared functionality. I would appreciate a closer look at these changes in case I messed up the way the expected path works.
Testing
Updated one test to add imap/ as part of the expected path... I think this is correct, but would appreciate a double-check.
Change Summary
Moving some of the file management stuff from sds-data-manager to this repo for wider use. I'd appreciate a close review from @bourque, @greglucas, and @tech3371 to make sure this lines up with what they are expecting
Overview
Added new file_validation.py file, with a shared ScienceFilepathManager class (copied from Tenzin's work on sds-manager, I need to add her and Laura as coauthors actually), which I refactored slightly for more wide adoption. Also added some useful shared methods in that file and a list of valid instruments and levels.
New Dependencies
I moved the project to poetry (don't leave me unattended) to match the other projects. No new dependencies there though
New Files
Updated Files
Testing
Updated one test to add
imap/
as part of the expected path... I think this is correct, but would appreciate a double-check.