Skip to content

Commit

Permalink
fix: replaced period with duration in JSON test data
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-lukecarr committed Dec 16, 2024
1 parent 1fe5eb2 commit 672da94
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions tests/test_data/doc-example-collections.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
},
"measurementType": {
"method": "mean",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Wind Speed": {
Expand All @@ -217,7 +217,7 @@
},
"measurementType": {
"method": "mean",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Wind Gust": {
Expand All @@ -236,7 +236,7 @@
},
"measurementType": {
"method": "maximum",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Air Temperature": {
Expand All @@ -255,7 +255,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Weather": {
Expand All @@ -274,7 +274,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Relative Humidity": {
Expand All @@ -293,7 +293,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Dew point": {
Expand All @@ -312,7 +312,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Pressure": {
Expand All @@ -331,7 +331,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Pressure Tendancy": {
Expand All @@ -350,7 +350,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Visibility": {
Expand All @@ -369,7 +369,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
}
}
Expand Down Expand Up @@ -539,7 +539,7 @@
},
"measurementType": {
"method": "mean",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Wind Speed": {
Expand All @@ -558,7 +558,7 @@
},
"measurementType": {
"method": "mean",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Wind Gust": {
Expand All @@ -577,7 +577,7 @@
},
"measurementType": {
"method": "maximum",
"period": "-PT10M/PT0M"
"duration": "-PT10M/PT0M"
}
},
"Air Temperature": {
Expand All @@ -596,7 +596,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Weather": {
Expand All @@ -615,7 +615,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Relative Humidity": {
Expand All @@ -634,7 +634,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Feels like temperature": {
Expand All @@ -653,7 +653,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"UV index": {
Expand All @@ -672,7 +672,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Probability of precipitation": {
Expand All @@ -691,7 +691,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
},
"Visibility": {
Expand All @@ -710,7 +710,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0M"
"duration": "PT0M"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions tests/test_data/parameter-names.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0S"
"duration": "PT0S"
}
},
"u-component_of_wind_altitude_above_msl": {
Expand All @@ -34,7 +34,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0S"
"duration": "PT0S"
}
},
"v-component_of_wind_altitude_above_msl": {
Expand All @@ -53,7 +53,7 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0S"
"duration": "PT0S"
}
}
}
2 changes: 1 addition & 1 deletion tests/test_data/parameter-with-extent.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
},
"measurementType": {
"method": "instantaneous",
"period": "PT0S"
"duration": "PT0S"
}
}

0 comments on commit 672da94

Please sign in to comment.