240 likes | 251 Views
FEATURE Overview & Update. Brian Carcich Peter Thomas Cornell University. Based on CIRCLE.PRO by Ernest Bowman-Cisneros. FEATURE Agenda. Why FEATURE? Status of FEATURE What FEATURE does (demo) FEATURE output, input, environment How FEATURE models data Geometry; Shape; SPICE Kernels
E N D
FEATURE Overview & Update Brian Carcich Peter Thomas Cornell University Based on CIRCLE.PRO by Ernest Bowman-Cisneros
FEATURE Agenda • Why FEATURE? • Status of FEATURE • What FEATURE does (demo) • FEATURE output, input, environment • How FEATURE models data • Geometry; Shape; SPICE Kernels • Issues of note, To Do • VRML Tool (demo) • Backup slides
Why FEATURE? Mapping, note taking, simple measures • Points: locations, density distribution • Lines: sizes and azimuths • Circles: sizes and density distribution
Status – Since Nov, 2008 • Done • Successfully used flight test data! • LRO/generic TDI/Line imager intersection framework • Site-independent SPICE kernel management • EKKM not site-independent, but close enough • Hi-resolution lunar rotation model • Generic shape model interface: user supplies model • Read PDS subwindows • Postponed/obsolete: use pds2isis • Developed VRML tool
What FEATURE does Locate, identify & record surface FEATUREs • Locate • Line, Sample • Latitude, Longitude • Identify • Points: PRFs; &c. • Lines: Grooves; ridges; &c. • Circles: Craters; &c. • Assign comments, IDs • Record • Flat ASCII format • One line/feature
FEATURE Output: Sample record file VERSION 1 9 311.66 29907.18 -999.00 -999.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 PRF 536.29 29782.81 12.84 -999.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 Crater 87.15 29872.54 23.12 -999.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 Crater 312.40 29841.20 21.84 -999.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 Crater 175.00 29767.00 170.00 29837.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 Ridge 547.00 28434.00 847.00 28501.00 -999.00 -999.00 -999.000 -999.00 -999.00 -999.000 50000 5000 m00725569 Ridge <--1---> <--2---> <-----3------> <-----4------> <---5---> <--6---> <-7-> • Feature: S1,L1 (Center if circle) • Feature: S2,L2 (line) or Radius,-999 (circle) or -999,-999 • Feature: Lat,Long,Radius of S1,L1 • Feature: Lat,Long,Radius of S1,L1 (line) or -999,-999 • Image: NL, NS • Image: filename prefix • Feature: User comment, ID
FEATURE Input • Local IsisCube: PDS EDR=>[pds2isis] • Alternative: SOC Server proposal; see backup slides • Lunar shape model • Radius map; FITS file w/specific keywords • SPICE kernels • Mirror of SOC directory hierarchy • Two FEATURE-specific meta-kernels • Requires Minimal localization to text file • Scripts exist to automate update
FEATURE Environment • Linux • Eunuchs™, OSX, Windows/Cygwin should also work • IDL (V5+?) with GUI • GSFC Astron library (FITS) • Misc Cornell IDL utilities • ISIS • Pds2isis • Replace with web application? • IsisDlm • 3rd-party libraries • Carcich time
How: Shape Model description Image [line,samp] to [latitude,long.] • Local image: PDS => [pds2isis] => IsisCube • Geometry(t) TDI model from image header info • Pixel line,sample in image … • time of pixel exposure … t = A + B x line + C x samp A, B from image header; C=0 for LROC • SPICE lookup F(t,sample,SCLK,SPK,CK,FK,IK) … • Body-fixed image- & pixel-specific ray … • DEM shape intersection … • Selenocentric latitude & longitude
How: Shape Model • Generic user-supplied DEM (FITS file) • Mapping info in FITS header • Moon: CLEM. Data • Delta from spheroid (Req = 1738km; ƒ = 1/3234.93) • 4 pixel/deg (~8km/pixel) • PDS CLEM1-L-LIDAR-5-TOPO-V1.0 data set
How – SPICE Kernel Management • “The Achilles heel of SPICE is kernel management” • You can try this at home • Scripts mirror LROC SOC SPICE kernel directories • EKKM: E-Kernel Kernel Management • E-Kernel: portable database w/SPICE toolkit I/F • Loads only the necessary kernels • Object interface for IDL IDL> ekkm = newekkm(‘lro.ek’) IDL> ekkm->FindByTime,START_TIME,STOP_TIME IDL> delekkm,ekkm ∙
Issues of note • Flight-quality Kernels (FK, IK): TBD • AI: Project • ISIS IDL DLM: 32kLine limitation • AI: USGS/ISIS/KBecker • Moon reference frame for shape model • IAU_MOON, MOON_PA, MOON_ME
FEATURE TODO • ISIS DLM to handle > 32k lines (USGS/KBecker) • Continue documentation: installation; use; tutorial • Port/install to volunteers’ environments • Port new framework back to MRO • Flight-quality Frames kernels (Project)
Backup slides (details) • Status – Done • How - Code • Where • Who & When • SOC Server proposal
Backup slides (details) • Status – Done • How - Code • Where • Who & When • SOC Server proposal
Status - Done • Week ending 2008-11-07 • Create & use subwindow object • Read ISIS cubes & subwindows • Read ddd subwindows
How - Code • IDL • Based on EBC CIRCLE.PRO • ICY SPICE/IDL interface (DLM) • READ_ANY_IMAGE.PRO • Custom code; extends IDL’s QUERY_*, READ_* • FITS via GSFC Astron library • PDS via custom code • IsisCube via ISIS DLM • DDD via custom reader • Recent sub-window object/reader for performance • DDD, IsisCube working • PDS future
Where • Bodies (for line,samp=>Lat,Long) • Mars • Moon • TDI/Line CCD extendible to any near-sphere • Missions (for line,samp=>Lat,Long) • MRO • LRO (CUB only) • Development • Cornell
Who & When • EBC CIRCLE.PRO ca 2002? • PCT Updated specs (point, line, circle) ca 2006 • pthomas@astro.cornell.edu • BTC CIRCLE.PRO => FEATURE.PRO ca 2006 • ddd, MRO line,sample=>Lat,Long • November, 2007, updated July, 2008 • IsisCube, LRO line,samp=>Lat,Long • May, 2009 • carcich@astro.cornell.edu
SOC Server Proposal • Problem: large files copied to local disk • Need image + ancillary data • Header info, SPICE/geometry • Deliver subwindows a la JPEG2000/JPIP • Pros • JIT delivery of desired image data • Could eliminate stale local files • Cons • Network dependency (availability, performance)