MarsRaw / mars-raw-utils

Utilities for working with publicly available raw MSL & Mars2020 images
MIT License
45 stars 10 forks source link

Add convert-to-pds subcommand #44

Open kmgill opened 1 year ago

kmgill commented 1 year ago

Add a subcommand which will convert a calibrated image to PDS format. If this requires writing a whole VICAR support library, then lower the priority due to larger scope of work.

kmgill commented 1 year ago

Likewise, if a VICAR library is written, then create a pds-to-png subcommand.

sschmaus commented 1 year ago

perhaps this functionality could be implemented via gdal

kmgill commented 1 year ago

Yeah, it can be done by gdal as it understands VICAR. Not as fun/interesting as writing my own implementation too. Vicar is pretty straightforward, though writing a serializer/deserializer (I'm researching using serde for this) for the PDS v<=3 PVL labels is a bit more complicated.