@@ -39,6 +39,7 @@ def setUpClass(cls):
3939 cls .rssmif16d_variable = '/wind_speed'
4040 cls .atl16_variable = '/global_asr_obs_grid'
4141 cls .staging_location = 's3://example-bucket/'
42+ cls .mime = 'fake-mimetype'
4243
4344 with open ('tests/data/ATL03_example.dmr' , 'r' ) as file_handler :
4445 cls .atl03_dmr = file_handler .read ()
@@ -149,6 +150,7 @@ def test_non_spatial_end_to_end(
149150 ],
150151 }
151152 ],
153+ 'format' : {'mime' : self .mime },
152154 'stagingLocation' : self .staging_location ,
153155 'user' : 'fhaise' ,
154156 }
@@ -273,6 +275,7 @@ def test_geo_bbox_end_to_end(
273275 ],
274276 'stagingLocation' : self .staging_location ,
275277 'subset' : {'bbox' : [- 30 , 45 , - 15 , 60 ]},
278+ 'format' : {'mime' : self .mime },
276279 'user' : 'jlovell' ,
277280 }
278281 )
@@ -418,6 +421,7 @@ def test_bbox_geo_descending_latitude(
418421 ],
419422 'stagingLocation' : self .staging_location ,
420423 'subset' : {'bbox' : [- 30 , 45 , - 15 , 60 ]},
424+ 'format' : {'mime' : self .mime },
421425 'user' : 'cduke' ,
422426 }
423427 )
@@ -547,6 +551,7 @@ def test_geo_bbox_crossing_grid_edge(
547551 ],
548552 'stagingLocation' : self .staging_location ,
549553 'subset' : {'bbox' : [- 7.5 , - 60 , 7.5 , - 45 ]},
554+ 'format' : {'mime' : self .mime },
550555 'user' : 'jswiggert' ,
551556 }
552557 )
@@ -754,6 +759,7 @@ def test_geo_bbox(
754759 ],
755760 'stagingLocation' : self .staging_location ,
756761 'subset' : {'bbox' : bounding_box },
762+ 'format' : {'mime' : self .mime },
757763 'user' : 'jaaron' ,
758764 }
759765 )
@@ -881,6 +887,7 @@ def test_spatial_bbox_no_variables(
881887 ],
882888 'stagingLocation' : self .staging_location ,
883889 'subset' : {'bbox' : [- 30 , 45 , - 15 , 60 ]},
890+ 'format' : {'mime' : self .mime },
884891 'user' : 'kerwinj' ,
885892 }
886893 )
@@ -1025,6 +1032,7 @@ def test_temporal_end_to_end(
10251032 'start' : '2021-01-10T01:00:00' ,
10261033 'end' : '2021-01-10T03:00:00' ,
10271034 },
1035+ 'format' : {'mime' : self .mime },
10281036 'user' : 'jyoung' ,
10291037 }
10301038 )
@@ -1156,6 +1164,7 @@ def test_temporal_all_variables(
11561164 'start' : '2021-01-10T01:00:00' ,
11571165 'end' : '2021-01-10T03:00:00' ,
11581166 },
1167+ 'format' : {'mime' : self .mime },
11591168 'user' : 'jyoung' ,
11601169 }
11611170 )
@@ -1331,6 +1340,7 @@ def test_bbox_temporal_end_to_end(
13311340 'start' : '2021-01-10T01:00:00' ,
13321341 'end' : '2021-01-10T03:00:00' ,
13331342 },
1343+ 'format' : {'mime' : self .mime },
13341344 'user' : 'jyoung' ,
13351345 }
13361346 )
@@ -1472,6 +1482,7 @@ def test_geo_shapefile_end_to_end(
14721482 'subset' : {
14731483 'shape' : {'href' : shape_file_url , 'type' : 'application/geo+json' }
14741484 },
1485+ 'format' : {'mime' : self .mime },
14751486 'user' : 'dscott' ,
14761487 }
14771488 )
@@ -1622,6 +1633,7 @@ def test_geo_shapefile_all_variables(
16221633 'subset' : {
16231634 'shape' : {'href' : shape_file_url , 'type' : 'application/geo+json' }
16241635 },
1636+ 'format' : {'mime' : self .mime },
16251637 'user' : 'dscott' ,
16261638 }
16271639 )
@@ -1781,6 +1793,7 @@ def test_bbox_precedence_end_to_end(
17811793 'bbox' : [- 30 , 45 , - 15 , 60 ],
17821794 'shape' : {'href' : shape_file_url , 'type' : 'application/geo+json' },
17831795 },
1796+ 'format' : {'mime' : self .mime },
17841797 'user' : 'aworden' ,
17851798 }
17861799 )
@@ -1938,6 +1951,7 @@ def test_geo_dimensions(
19381951 {'name' : 'longitude' , 'min' : 15 , 'max' : 30 },
19391952 ]
19401953 },
1954+ 'format' : {'mime' : self .mime },
19411955 'user' : 'blightyear' ,
19421956 }
19431957 )
@@ -2066,6 +2080,7 @@ def test_projected_grid_bbox(
20662080 ],
20672081 'stagingLocation' : self .staging_location ,
20682082 'subset' : {'bbox' : [- 160 , 68 , - 145 , 70 ]},
2083+ 'format' : {'mime' : self .mime },
20692084 'user' : 'wfunk' ,
20702085 }
20712086 )
@@ -2205,6 +2220,7 @@ def test_projected_grid_shape(
22052220 'subset' : {
22062221 'shape' : {'href' : shape_file_url , 'type' : 'application/geo+json' }
22072222 },
2223+ 'format' : {'mime' : self .mime },
22082224 'user' : 'wfunk' ,
22092225 }
22102226 )
@@ -2352,6 +2368,7 @@ def test_bounds_end_to_end(
23522368 'start' : '2020-01-01T12:15:00' ,
23532369 'end' : '2020-01-01T12:45:00' ,
23542370 },
2371+ 'format' : {'mime' : self .mime },
23552372 'user' : 'jlovell' ,
23562373 }
23572374 )
@@ -2517,6 +2534,7 @@ def test_requested_dimensions_bounds_end_to_end(
25172534 'start' : '2020-01-01T12:15:00' ,
25182535 'end' : '2020-01-01T12:45:00' ,
25192536 },
2537+ 'format' : {'mime' : self .mime },
25202538 'user' : 'jlovell' ,
25212539 }
25222540 )
@@ -2739,6 +2757,7 @@ def test_edge_aligned_no_bounds_end_to_end(
27392757 ],
27402758 'stagingLocation' : self .staging_location ,
27412759 'subset' : {'bbox' : [77 , 71.25 , 88 , 74.75 ]},
2760+ 'format' : {'mime' : self .mime },
27422761 'user' : 'sride' ,
27432762 }
27442763 )
0 commit comments