nasa-gibs / onearth

High-performance web services for tiled raster imagery and vector tiles
Apache License 2.0
178 stars 47 forks source link

Easier local setup of mrfgen tools #185

Closed zmoon closed 1 month ago

zmoon commented 2 months ago

The main change is the addition of a Conda env spec and some edits to the mrfgen readme.

I also wrote a small install script and made some minor changes in order for --help to work without error for all of the tools. src/mrfgen/RgbPngToPalPng.py had some \rs in it, I ran dos2unix on it to get it to work as an executable. I also linked oe_utils.py since it's needed.

I wasn't able to get all the same versions from conda-forge as pinned elsewhere, so open to thoughts about that.

jtroberts commented 2 months ago

Thanks for the contribution! We'll run some test with GIBS to make sure our builds are happy.

We've had some prior discussions about making mrfgen its own standalone repository. I'd be interested to hear if that would be a worthwhile pursuit.

zmoon commented 2 months ago

making mrfgen its own standalone repository

Yes I did also think about this. It would be convenient if it had a conda-forge recipe, say. And that would be much easier to set up if mrfgen had its own repo.

I was also curious about the status of https://github.com/nasa-gibs/gpu-data-to-image

jtroberts commented 2 months ago

I was also curious about the status of https://github.com/nasa-gibs/gpu-data-to-image

It was intended as a prototype and has been dormant for a few years. It worked great back then and could be revived. We wanted to integrate it with https://github.com/apache/sdap-nexus but never had the cycles to put things together.