TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 46 forks source link

Experience upgrading the single target processors for AWS compatibility #1023

Closed rachel3834 closed 3 months ago

rachel3834 commented 3 months ago

I'm upgrading MOP to bring in the new data services for single target queries, and I've found I had to customize the data processors because MOP is deployed through AWS, and accessing the data product files in order to ingest them needs slightly different write handling.

I got this working using django.core.files.storage.default_storage, so I'm recording the solution here for reference. The modified version can be found here.