88
99@pytest .mark .network
1010class TestAlgorithm :
11- def test_atl06 (self , server , asset , organization ):
12- icesat2 .init (server , organization = organization )
11+ def test_atl06 (self , domain , asset , organization ):
12+ icesat2 .init (domain , organization = organization )
1313 resource = "ATL03_20181019065445_03150111_004_01.h5"
1414 parms = { "cnf" : "atl03_high" ,
1515 "ats" : 20.0 ,
@@ -22,8 +22,8 @@ def test_atl06(self, server, asset, organization):
2222 assert min (gdf ["cycle" ]) == 1
2323 assert len (gdf ["h_mean" ]) == 622423
2424
25- def test_atl06p (self , server , asset , organization ):
26- icesat2 .init (server , organization = organization )
25+ def test_atl06p (self , domain , asset , organization ):
26+ icesat2 .init (domain , organization = organization )
2727 resource = "ATL03_20181019065445_03150111_004_01.h5"
2828 parms = { "cnf" : "atl03_high" ,
2929 "ats" : 20.0 ,
@@ -36,8 +36,8 @@ def test_atl06p(self, server, asset, organization):
3636 assert min (gdf ["cycle" ]) == 1
3737 assert len (gdf ["h_mean" ]) == 622423
3838
39- def test_atl03s (self , server , asset , organization ):
40- icesat2 .init (server , organization = organization )
39+ def test_atl03s (self , domain , asset , organization ):
40+ icesat2 .init (domain , organization = organization )
4141 resource = "ATL03_20181019065445_03150111_004_01.h5"
4242 region = [ { "lat" : - 80.75 , "lon" : - 70.00 },
4343 { "lat" : - 81.00 , "lon" : - 70.00 },
@@ -60,8 +60,8 @@ def test_atl03s(self, server, asset, organization):
6060 assert min (gdf ["cycle" ]) == 1
6161 assert len (gdf ["height" ]) == 488673
6262
63- def test_atl03sp (self , server , asset , organization ):
64- icesat2 .init (server , organization = organization )
63+ def test_atl03sp (self , domain , asset , organization ):
64+ icesat2 .init (domain , organization = organization )
6565 resource = "ATL03_20181019065445_03150111_004_01.h5"
6666 region = [ { "lat" : - 80.75 , "lon" : - 70.00 },
6767 { "lat" : - 81.00 , "lon" : - 70.00 },
@@ -84,8 +84,8 @@ def test_atl03sp(self, server, asset, organization):
8484 assert min (gdf ["cycle" ]) == 1
8585 assert len (gdf ["height" ]) == 488673
8686
87- def test_atl08 (self , server , asset , organization ):
88- icesat2 .init (server , organization = organization )
87+ def test_atl08 (self , domain , asset , organization ):
88+ icesat2 .init (domain , organization = organization )
8989 resource = "ATL03_20181213075606_11560106_004_01.h5"
9090 track = 1
9191 region = [ {"lon" : - 108.3435200747503 , "lat" : 38.89102961045247 },
@@ -113,8 +113,8 @@ def test_atl08(self, server, asset, organization):
113113 assert len (gdf [gdf ["atl08_class" ] == 3 ]) == 18958
114114 assert len (gdf [gdf ["atl08_class" ] == 4 ]) == 16050
115115
116- def test_gs (self , server , asset , organization ):
117- icesat2 .init (server , organization = organization )
116+ def test_gs (self , domain , asset , organization ):
117+ icesat2 .init (domain , organization = organization )
118118 resource_prefix = "20210114170723_03311012_004_01.h5"
119119 region = [ {"lon" : 126.54560629670780 , "lat" : - 70.28232209449946 },
120120 {"lon" : 114.29798416287946 , "lat" : - 70.08880029415151 },
0 commit comments