Does a library exist for parsing the PDS files that scientific planetary data gets shipped as?
For example, here's a link to to the lunar topographic data from the Lunar Reconnaisance spacecraft (it's huge):
http://wms.lroc.asu.edu/lroc/global_product/256_ppd_DEM
I've seen the same format used elsewhere (for example, similar data from the Japanese Kaguya spacecraft).
Previously I've written custom parsers to massage the data into something I can actually use, but this is getting a bit complicated --- the LROC dataset has tiles of two different types of projection. What I'd really like is a library that I can just throw the PDS files at and say 'what is the data point for lat Y lon X' and have it give me an answer. Does such a thing exist?
pds*.cc
files here: github.com/davidgiven/flooded-moon/tree/trunk/terrainmaker I used this to produce the pictures here: cowlark.com/flooded-moon