Hi Wei,

Great to hear that you are using OODT and glad the example went
well!

Answers below:

-----Original Message-----

From: "Shi, Wei" <shi...@med.umich.edu>
Reply-To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Date: Tuesday, January 26, 2016 at 1:17 PM
To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Subject: Questions: Filemgr metadata ingest

>All,
>I am new to OODT. Just downloaded the software and installed it.
>
>I am following "OODT Filemgr User Guide" to ingest files.
>(https://cwiki.apache.org/confluence/display/OODT/OODT+Filemgr+User+Guide)
>Everything went well and I was able to ingest the blah.txt file
>successfully!
>
>Now here comes my questions:
>
>1.       If I want to add some my own metadata fields in blah.txt.met,
>what would be the format?

Key/Multi-value of the form:

<cas:metadata>
  <keyval>
    <key>KeyName</key>
    <val>val1</val>
    <val>val2</val>
   </keyval>
<—more —>
</cas:metadata>

See schema here:

http://svn.apache.org/repos/asf/oodt/site/components/maven/metadata/user/ba
sic.html


>
>2.       In product-types.xml file, there is a tag called "metadata". Are
>these key/value pairs added to that relevant product type (such as
>GenericFile) as metadata fields?

Same as above, same format. These are also “ProductType” met fields
meaning they are true
(and don’t differ) for all products in the ProductType or dataset.

>
>3.       Is there any tutorial that describes a metExtractor creation
>(either in Java or Python)?

See: 
http://svn.apache.org/repos/asf/oodt/site/components/maven/metadata/user/ba
sic.html
http://svn.apache.org/repos/asf/oodt/site/components/maven/curator/user/bas
ic.html


Cheers,
Chris

>
>Thanks,
>
>Wei Shi, M.B.A., M.S.
>Architect
>UM Comprehensive Cancer Center
>NCRC 100/134
>O: 734-763-8440 C: 248-835-8453
>shi...@med.umich.edu<mailto:shi...@med.umich.edu>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattm...@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



>
>
>**********************************************************
>Electronic Mail is not secure, may not be read every day, and should not
>be used for urgent or sensitive issues 

Reply via email to