Closed ocehugo closed 3 years ago
Pillow is used to allow pyplot to output JPEGs for this pipeline: https://github.com/aodn/python-aodndata/blob/master/aodndata/soop/soop_xbt_dm.py#L120
To output JPGs such as (for one example): http://imos-data.s3-website-ap-southeast-2.amazonaws.com/?prefix=IMOS/SOOP/SOOP-XBT/DELAYED/Line_IX28_Dumont-d-Urville-Hobart/2013/
I'm all for fewer dependencies, but it might annoy the SOOP people if you drop Pillow prematurely!
damm - breaking urls then...
I almost said - just write a png file as a .jpg file cause no one will notice - until I remembered a certain popular OS...
I was just checking the GLSA issue and saw that we are taking the easy road of keeping/including heavier dependencies just to support a legacy image format in a single test.
If we move the file format of the test to png, we can get rid of the pillow dependency.