import the library


In [ ]:
from pyCMR.pyCMR import CMR

Instantiate CMR object by providing a local configuration file.


In [ ]:
cmr=CMR("../cmr.cfg")

Update collection


In [ ]:
cmr.updateCollection("/home/manil/CMR/updatedCollection.xml")

Update granule


In [ ]:
cmr.updateGranule("/home/manil/CMR/updatedGranule.xml")