Hi Rishi,

> I'm experimenting with OODT filemanager, and wanted to ingest a product 
> file's met into the filemgr catalog.
> 
> I don't have the product file on hand, but I do have the metadata.
> 

Yep, I think bfost mentioned this, but the best way to take care of it here is 
two-fold:

1. Just use the InPlaceDataTransferer. It will neglect to transfer the product 
files (which is what you want since you don't have any)
2. Just pass dummy refs: fefs are only used for cataloging locations of 
products, and also passed to the data transferer to do with how it likes. If 
you use a transferer that doesn't bother to transfer, then you're fine there.

Another option would be to use the StdProductCrawler (part of cas-crawler). It 
expects .met files (in CAS format) and will look for:

Filename
FileLocation
ProductType 

To be set to ingest into the FM. If you're using InPlaceDataTransferer, then 
FileLocation can be a dummy value and it will still work.

> The filemgr user's guide (ie. 
> http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents 
> how to ingest a product file assuming you actually have the product on hand. 
> However, if I only want to ingest the metadata, how would I go about doing 
> this?

See above.

Good luck!

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to