Commit 216e4557 authored by ARCHER's avatar ARCHER 💬
Browse files

missing _SCF RS2 extension

parent 3f2d92fe
......@@ -99,8 +99,8 @@ class SafeNomencl(Nomencl):
# RS2_OK99999_PK999999_DK999999_XXXX_20101014_090242_HH_HV_SGF
# RS2_OK101963_PK882792_DK815838_SCWA_20180913_105943_VV_VH_SGF
class RS2Nomencl(Nomencl):
regex = re.compile("(RS2)_OK([0-9]+)_PK([0-9]+)_DK([0-9]+)_(....)_(........)_(......)_(..(_..)?)_SGF")
template = Template("${MISSIONID}_OK${DATA1}_PK${DATA2}_DK${DATA3}_${DATA4}_${DATE}_${TIME}_${POLARIZATION}_SGF")
regex = re.compile("(RS2)_OK([0-9]+)_PK([0-9]+)_DK([0-9]+)_(....)_(........)_(......)_(.._?.?.?)_(S.F)")
template = Template("${MISSIONID}_OK${DATA1}_PK${DATA2}_DK${DATA3}_${DATA4}_${DATE}_${TIME}_${POLARIZATION}_${LAST}")
def __init__(self, safe):
super(RS2Nomencl,self).__init__(RS2Nomencl.regex, RS2Nomencl.template)
......
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