Commit e80e8cc3 authored by cponcele's avatar cponcele
Browse files

Take into account for dimension marked as MA

parent 0b59d855
......@@ -37,7 +37,7 @@ class SonarChecker:
if not path.endswith("/"):
path = path + "/"
for value in self.classes.items():
for value in self.classes.values():
pattern = value.get_group_path_pattern()
match = re.fullmatch(pattern, path)
if match:
......
......@@ -22,6 +22,7 @@ class RootGrpValidator:
#Dimensions
_dimensions=[]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -45,6 +46,7 @@ class AnnotationGrpValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["time"]
......@@ -66,6 +68,7 @@ class EnvironmentGrpValidator:
#Dimensions
_dimensions=["frequency"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["frequency"]
......@@ -89,6 +92,7 @@ class SoundSpeedProfileGrpValidator:
#Dimensions
_dimensions=["profile","sampleCount"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -112,6 +116,7 @@ class SurfaceSoundSpeedGrpValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -135,6 +140,7 @@ class TideGrpValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -158,6 +164,7 @@ class DynamicDraughtGrpValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -179,6 +186,7 @@ class PlatformGrpValidator:
#Dimensions
_dimensions=["transducer","position","MRU"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -202,6 +210,7 @@ class PositionGrpValidator:
#Dimensions
_dimensions=[]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -225,6 +234,7 @@ class PositionSubGroupValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["time"]
......@@ -248,6 +258,7 @@ class NmeaGrpValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["time"]
......@@ -269,6 +280,7 @@ class AttitudeGrpValidator:
#Dimensions
_dimensions=[]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -292,6 +304,7 @@ class AttitudeSubGroupValidator:
#Dimensions
_dimensions=["time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["time"]
......@@ -314,7 +327,8 @@ class ProvenanceGrpValidator:
_attributes=["conversion_software_name","conversion_software_version","conversion_time"]
#Dimensions
_dimensions=["filenames"]
_dimensions=[]
_ma_dimensions=["filenames"]
#Variables
_coordinate_variables=[]
......@@ -336,6 +350,7 @@ class SonarGrpValidator:
#Dimensions
_dimensions=[]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -359,6 +374,7 @@ class BeamGroup1GrpValidator:
#Dimensions
_dimensions=["beam","subbeam","ping_time","tx_beam"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["beam","ping_time"]
......@@ -382,6 +398,7 @@ class AdcpGrpValidator:
#Dimensions
_dimensions=[]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -405,6 +422,7 @@ class MeanCurrentGrpValidator:
#Dimensions
_dimensions=["mean_time"]
_ma_dimensions=[]
#Variables
_coordinate_variables=["mean_time"]
......@@ -426,6 +444,7 @@ class BathymetryGrpValidator:
#Dimensions
_dimensions=["detection"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......@@ -449,6 +468,7 @@ class GridGroup1GrpValidator:
#Dimensions
_dimensions=["beam","tx_beam","frequency","ping_axis","range_axis"]
_ma_dimensions=[]
#Variables
_coordinate_variables=[]
......
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