Behold, Doodles in Space #4
jmdelvecchio
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
This looks great! When you have time, do you think you could put together a small example of inputs and outputs and how to call the functions? Or if you like, please go ahead and make a folder inside https://github.com/Doodleverse/s2m_engine/tree/main/s2m_engine called 'jpg2geotif' or something and add a function, then make a PR (perhaps with an example workflow 🙏 ). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Nothing like a proposal deadline to get you to write code:
I exploited the fact that when you convert the GeoTIFFS from Earth Engine to jpegs it creates a
jpg.aux.xml
file with the spatial data, so I just parsed file names to match labels to xmls.I wrote meself a Python module so I could run everything from the command line, but then I got lazy and stole yalls popup dialogs for directory selection.
Don't read the code too closely!!!
Most important thing for me is that "NoData" comes up as class 0 but there is also a class assigned to 0.
Beta Was this translation helpful? Give feedback.
All reactions