Describe the bugariaPlot.py uses ARIAtools.util.plot.PlotClass standard product bounding boxes to plot track extents, but PlotClass requires a mask file name to be passed. I can issue a PR with a fix to make the mask optional.
2024-09-05 10:28:44,840 - ariaPlot.py - INFO - - Make plot of track latitude extents vs bounding bbox/common track extent.
Traceback (most recent call last):
File "/opt/miniconda3/envs/ARIA-tools/bin/ariaPlot.py", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/Users/rzinke/Tools/ARIA-tools/tools/bin/ariaPlot.py", line 274, in <module>
main()
File "/Users/rzinke/Tools/ARIA-tools/tools/bin/ariaPlot.py", line 214, in main
make_plot = ARIAtools.util.plot.PlotClass([[j['productBoundingBox'] for j in standardproduct_info.products[1]],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/rzinke/Tools/ARIA-tools/tools/ARIAtools/util/plot.py", line 41, in __init__
self.mask = gdal.Open(mask)
^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/ARIA-tools/lib/python3.12/site-packages/osgeo/gdal.py", line 8817, in Open
return _gdal.Open(*args)
^^^^^^^^^^^^^^^^^
RuntimeError: not a string or os.PathLike
Expected behavior
Expect a plot of latitude extents.
Describe the bug
ariaPlot.py
usesARIAtools.util.plot.PlotClass
standard product bounding boxes to plot track extents, butPlotClass
requires a mask file name to be passed. I can issue a PR with a fix to make the mask optional.To Reproduce Steps to reproduce the behavior:
Expected behavior Expect a plot of latitude extents.
Desktop: