[ https://issues.apache.org/jira/browse/TIKA-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520968#comment-14520968 ]
Chris A. Mattmann commented on TIKA-1532: ----------------------------------------- Good to go, committing! {noformat} [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57.451 s [INFO] Finished at: 2015-04-29T23:30:04-07:00 [INFO] Final Memory: 90M/1640M [INFO] ------------------------------------------------------------------------ [chipotle:~/tmp/tika] mattmann% ls 46.patch LICENSE.txt pom.xml tika-bundle/ tika-java7/ tika-server/ CHANGES.txt NOTICE.txt target/ tika-core/ tika-parent/ tika-translate/ HEADER.txt README.md tika-app/ tika-dotnet/ tika-parsers/ tika-xmp/ KEYS assembly.xml tika-batch/ tika-example/ tika-serialization/ [chipotle:~/tmp/tika] mattmann% svn status ? 46.patch M CHANGES.txt ? tika-batch/target A tika-core/src/main/java/org/apache/tika/sax/DIFContentHandler.java M tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml M tika-core/src/test/java/org/apache/tika/TikaDetectionTest.java M tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java A tika-parsers/src/main/java/org/apache/tika/parser/dif A tika-parsers/src/main/java/org/apache/tika/parser/dif/DIFContentHandler.java A tika-parsers/src/main/java/org/apache/tika/parser/dif/DIFParser.java A tika-parsers/src/main/java/org/apache/tika/parser/xml/DIFContentHandler.java A tika-parsers/src/main/java/org/apache/tika/parser/xml/DIFParser.java M tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser A tika-parsers/src/test/java/org/apache/tika/parser/dif A tika-parsers/src/test/java/org/apache/tika/parser/dif/DIFParserTest.java A tika-parsers/src/test/java/org/apache/tika/parser/xml/DIFParserTest.java A tika-parsers/src/test/resources/test-documents/Zamora2010.dif [chipotle:~/tmp/tika] mattmann% java -jar tika-app/target/tika-app-1.9-SNAPSHOT.jar -t tika-parsers/src/test/resources/test-documents/Zamora2010.dif Title: Zamora 2010 Using Sediment Geochemistry, Particle Size Distribution and Remote Sensing to Study Provenance in the Kronebreen/Kongsvegen Glaciers, West Spitsbergen, Svalbard Geographic Data: Southernmost_Latitude : 78.833 Northernmost_Latitude : 79.016 Westernmost_Longitude : 11.64 Easternmost_Longitude : 13.34 [chipotle:~/tmp/tika] mattmann% java -jar tika-app/target/tika-app-1.9-SNAPSHOT.jar -d tika-parsers/src/test/resources/test-documents/Zamora2010.dif application/dif+xml [chipotle:~/tmp/tika] mattmann% [chipotle:~/tmp/tika] mattmann% java -jar tika-app/target/tika-app-1.9-SNAPSHOT.jar -m tika-parsers/src/test/resources/test-documents/Zamora2010.dif Content-Length: 10199 Content-Type: application/dif+xml DIF-Data_Center-Data_Center_Name-Long_Name: Advanced Cooperative Arctic Data and Information Service DIF-Data_Center-Data_Center_Name-Short_Name: ACADIS DIF-Data_Center-Data_Center_URL: http://www.aoncadis.org/ DIF-Data_Center-Personnel-Contact_Address-Address: NCAR/CISL DIF-Data_Center-Personnel-Contact_Address-Address: P.O. Box 3000 DIF-Data_Center-Personnel-Contact_Address-City: Boulder DIF-Data_Center-Personnel-Contact_Address-Country: USA DIF-Data_Center-Personnel-Contact_Address-Postal_Code: 80307 DIF-Data_Center-Personnel-Contact_Address-Province_or_State: CO DIF-Data_Center-Personnel-First_Name: ACADIS DIF-Data_Center-Personnel-Last_Name: User Services DIF-Data_Center-Personnel-Role: DATA CENTER CONTACT DIF-Entry_ID: 00794186-48f9-11e3-9dcb-00c0f03d5b7c DIF-Entry_Title: Zamora 2010 Using Sediment Geochemistry, Particle Size Distribution and Remote Sensing to Study Provenance in the Kronebreen/Kongsvegen Glaciers, West Spitsbergen, Svalbard DIF-Last_DIF_Revision_Date: 2015-02-05 DIF-Metadata_Name: ACADIS IDN DIF DIF-Metadata_Version: 9.8.4 DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Category: EARTH SCIENCE DIF-Parameters-Term: OCEAN/LAKE RECORDS DIF-Parameters-Term: OCEAN/LAKE RECORDS DIF-Parameters-Term: GLACIERS/ICE SHEETS DIF-Parameters-Term: LAND TEMPERATURE DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Term: MARINE SEDIMENTS DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Term: GLACIERS/ICE SHEETS DIF-Parameters-Term: GLACIERS/ICE SHEETS DIF-Parameters-Term: LAND RECORDS DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Term: OCEAN TEMPERATURE DIF-Parameters-Term: OCEAN/LAKE RECORDS DIF-Parameters-Term: MARINE SEDIMENTS DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Term: FROZEN GROUND DIF-Parameters-Term: GLACIERS/ICE SHEETS DIF-Parameters-Term: FROZEN GROUND DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Term: EROSION/SEDIMENTATION DIF-Parameters-Topic: PALEOCLIMATE DIF-Parameters-Topic: PALEOCLIMATE DIF-Parameters-Topic: TERRESTRIAL HYDROSPHERE DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: OCEANS DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: CRYOSPHERE DIF-Parameters-Topic: TERRESTRIAL HYDROSPHERE DIF-Parameters-Topic: PALEOCLIMATE DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: OCEANS DIF-Parameters-Topic: PALEOCLIMATE DIF-Parameters-Topic: OCEANS DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: CRYOSPHERE DIF-Parameters-Topic: CRYOSPHERE DIF-Parameters-Topic: CRYOSPHERE DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Topic: LAND SURFACE DIF-Parameters-Variable_Level_1: SEDIMENTS DIF-Parameters-Variable_Level_1: VARVE DEPOSITS DIF-Parameters-Variable_Level_1: GLACIER MASS BALANCE/ICE SHEET MASS BALANCE DIF-Parameters-Variable_Level_1: LAND SURFACE TEMPERATURE DIF-Parameters-Variable_Level_1: SEDIMENTS DIF-Parameters-Variable_Level_1: TURBIDITY DIF-Parameters-Variable_Level_1: SEDIMENT TRANSPORT DIF-Parameters-Variable_Level_1: GLACIER MASS BALANCE/ICE SHEET MASS BALANCE DIF-Parameters-Variable_Level_1: GLACIERS DIF-Parameters-Variable_Level_1: SEDIMENTS DIF-Parameters-Variable_Level_1: SEDIMENTATION DIF-Parameters-Variable_Level_1: WATER TEMPERATURE DIF-Parameters-Variable_Level_1: LAKE LEVELS DIF-Parameters-Variable_Level_1: SEDIMENT TRANSPORT DIF-Parameters-Variable_Level_1: DEGRADATION DIF-Parameters-Variable_Level_1: SOIL TEMPERATURE DIF-Parameters-Variable_Level_1: GLACIERS DIF-Parameters-Variable_Level_1: PERIGLACIAL PROCESSES DIF-Parameters-Variable_Level_1: ENTRAINMENT DIF-Parameters-Variable_Level_1: SUSPENDED SOLIDS DIF-Related_URL-Description: Data Center top-level access page for this resource DIF-Related_URL-URL: http://www.aoncadis.org/dataset/id/00794186-48f9-11e3-9dcb-00c0f03d5b7c.html DIF-Related_URL-URL_Content_Type-Type: GET DATA DIF-Spatial_Coverage-Easternmost_Longitude: 13.34 DIF-Spatial_Coverage-Northernmost_Latitude: 79.016 DIF-Spatial_Coverage-Southernmost_Latitude: 78.833 DIF-Spatial_Coverage-Westernmost_Longitude: 11.64 DIF-Summary-Abstract: Abstract: Sediment provenance at the Kronerbreen/Kongsvegen glaciers in Spitsbergen can be used to understand the effects that climate change can have on the sedimentation in fjords, and streams at northern latitudes. These sediments are directly related to glacial processes and reflect the conditions under which they formed. Such conditions are sensitive to global climate change, which is amplified in northern latitudes, creating a unique environment for climate change research. Quantitative provenance studies have never been carried out in the Kongsfjorden before, and can provide data for a better understanding of glacial processes and dynamics, and changes in erosional conditions. Particularly, sedimentation rates and sediment grain size distribution can help unravel the glacial history of the area. This study will focus on analyzing the grain size distribution of the material being deposited by the mentioned glaciers and finding the source rock of these sediments. Fine sediment was transported by streams and upflows identified in the field, and fed by the glaciers melting ice. On the other hand, coarser material ranging from cobble to boulder size was deposited by ice, moraines, and alluvial processes. Sediment and rock samples were collected during the months of July and August 2009, along the terminus of the glacier, and in the surrounding areas, respectively. Grain size analysis was performed on the samples using a Malvern Mastersizer with the resulting in different groups showing a change in particle size and sorting depending on the location along the glacier. This analysis is important as mineral composition and transportation is influenced by grain size. Electron microprobe studies were carried out on sediment grains to obtain a rough compositional profile of the sediments, and a first-order mineralogical make-up. The microprobe results provided us with information about composition of some of the minerals present, based on the content of Fe, Ca, K and Al derived from the erosion of the local lithologies. Chemical composition can distinguish sediments derived from different sources, and may ultimately be compared with representative rock samples taken from the moraines. Due to the limited accessibility to some areas, many geological units in the Kongsfjorden area have not been mapped or studied, limiting the possible comparisons with contributing material to the fjord’s seafloor. Remote sensing techniques were used to map lithologies in previously unmapped regions using ENVI®, and ASTER satellite imagery. A GER 3700 radiospectrometer was used to collect spectral properties of the rock samples. These properties were compared to the outcrops in the satellite imagery giving us an idea of the bedrock composition of the area. The results of our research can be compared with future studies in order to obtain information, regarding responses in the glacier dynamics and processes, related to climate change. X-Parsed-By: org.apache.tika.parser.DefaultParser X-Parsed-By: org.apache.tika.parser.dif.DIFParser resourceName: Zamora2010.dif [chipotle:~/tmp/tika] mattmann% {noformat} > DIF Parser > ---------- > > Key: TIKA-1532 > URL: https://issues.apache.org/jira/browse/TIKA-1532 > Project: Tika > Issue Type: New Feature > Components: parser > Reporter: Aakarsh Medleri Hire Math > Assignee: Chris A. Mattmann > Labels: memex > > MIME Type detection & content parser for .dif format -- This message was sent by Atlassian JIRA (v6.3.4#6332)