170 likes | 288 Views
EMS Flat File Interfaces. 10 October 2007 http://ems.eos.nasa.gov. Objectives. Overview of flat file validation and processing Overview of product and user lookups Implications of revision files. Process Overview. EMS Validation Process. All data/file types validated against ICD
E N D
EMS Flat FileInterfaces 10 October 2007 http://ems.eos.nasa.gov
Objectives • Overview of flat file validation and processing • Overview of product and user lookups • Implications of revision files
EMS Validation Process • All data/file types validated against ICD • Only valid records ingested into EMS • Detailed report provided for failed records • Email • Apex/HTMLDB Data Provider status tab
EMS Notifications • File auditing • Data File Manifest (DFM) determines what is expected and frequency • Missing files • Unknown files • Reports available • Email • Apex/HTMLDB Data Provider status tab
Users, Meta, & Search Expression • EMS Tables • Base tables only • Data as is from flat file • Used in lookup process for Ingest, Archive, and Distribution files • Revision Files • EMS merges data • No physical delete
Ingest & Archive Data • EMS Tables • Base: data as is from flat file • Summary • Summarized history • Contains product mapping data • Updated Daily • Revision Files • EMS merges data • No physical delete • Archive: deleteFromArchive flag
Distribution Data • Distribution Process (post validation) • Look ups • Users • Get user from user profile data by userID, email, or IP/host • Default: “Anonymous” • Product • Get product from product search data by request path containing search expression • Get product mapping from meta data by product • Default: “Not Provided”
Distribution Data • EMS Tables • Base • contains data as is, plus user profile and product mappings • Summary • Daily summary
Distribution Data • Revision Files • Previously existing daily log deleted • Latest revision file inserted • Latest user profile, product, and search expression mappings applied
Distribution User Lookup • Prior to performing lookups all IP address are resolved to hostnames • If a valid userID exists in the Distribution Data File and the User Profile Flat File the corresponding userType and affiliation will be assigned and the next record will be evaluated. • If a valid email address exists in the Distribution Data File and the User Profile Flat File the corresponding userType and affiliation will be assigned and the next record will be evaluated. • If a valid hostname or IP address exists in the Distribution Data File and the User Profile Flat File the corresponding userType and affiliation will be assigned and the next record will be evaluated. • In no match occurs the record will be assigned the Public user type and the affiliation will be populated with ‘Unknown’ and the next record will be evaluated.
Data Type Definitions * Required fields – http://ems.eos.nasa.goc/document.....
EMS Naming <YYYYMMDD>_<Provider>_<FileType>_<DataSource>.flt.rev<1-n> Timestamp Extension Root File Name
Acronyms • CCR Change Control Request • DFM Data File Manifest • DP Data Provider • EMS EOSDIS Metrics System • ICD Interface Control Document