EOX GitLab Instance

Commit cb0592e2 authored by Martin Paces's avatar Martin Paces
Browse files

Adding collection name (eop:parentIdentifier).

parent f2d18e31
......@@ -189,6 +189,7 @@ if __name__ == "__main__" :
level = xml_in.find("HEADER/LEVEL").text
time_acq = fix_time( xml_in.find("HEADER/DATE_PDV").text )
time_prod = fix_time( xml_in.find("HEADER/DATE_PROD").text )
collection = (xml_in.find("HEADER/ZONE_GEO").text).replace("D0000B0000","")
acq_type = "NOMINAL"
prod_type = "Spot4Take5_%s"%(level)
......@@ -289,6 +290,7 @@ if __name__ == "__main__" :
# add cloud percentage
metadata = [
eop.E.identifier(ID),
eop.E.parentIdentifier(collection),
eop.E.acquisitionType(acq_type),
eop.E.productType(prod_type),
eop.E.status(prod_stat),
......
......@@ -189,6 +189,7 @@ if __name__ == "__main__" :
level = xml_in.find("HEADER/LEVEL").text
time_acq = fix_time( xml_in.find("HEADER/DATE_PDV").text )
time_prod = fix_time( xml_in.find("HEADER/DATE_PROD").text )
collection = (xml_in.find("HEADER/ZONE_GEO").text).replace("D0000B0000","")
acq_type = "NOMINAL"
prod_type = "Spot4Take5_%s"%(level)
......@@ -292,6 +293,7 @@ if __name__ == "__main__" :
# add cloud percentage
metadata = [
eop.E.identifier(ID),
eop.E.parentIdentifier(collection),
eop.E.acquisitionType(acq_type),
eop.E.productType(prod_type),
eop.E.status(prod_stat),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment