diff --git a/geefcc/misc/__init__.py b/geefcc/misc/__init__.py index de1a864..29f0626 100644 --- a/geefcc/misc/__init__.py +++ b/geefcc/misc/__init__.py @@ -2,3 +2,4 @@ from .miscellaneous import make_dir, makeblock, progress_bar +# End diff --git a/test/test_get_fcc.py b/test/test_get_fcc.py index cea5a3c..fac7aa6 100644 --- a/test/test_get_fcc.py +++ b/test/test_get_fcc.py @@ -3,7 +3,7 @@ # Import import os -from geefcc import get_fcc, ee_initialize +import geefcc # "EARTHENGINE_TOKEN" for GitHub actions # https://github.com/gee-community/geemap/discussions/1341 @@ -13,7 +13,7 @@ # with the name EARTHENGINE_TOKEN. # Initialize GEE -ee_initialize( +geefcc.ee_initialize( token_name="EARTHENGINE_TOKEN", project="forestatrisk", opt_url="https://earthengine-highvolume.googleapis.com") @@ -21,7 +21,7 @@ def test_get_fcc_extent_tmf(): """Testing get_fcc().""" - get_fcc( + geefcc.get_fcc( # Extent for Reunion Island aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519), buff=0.08983152841195216, @@ -35,7 +35,7 @@ def test_get_fcc_extent_tmf(): def test_get_fcc_extent_gfc(): """Testing get_fcc().""" - get_fcc( + geefcc.get_fcc( # Extent for Reunion Island aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519), buff=0.08983152841195216,