Skip to content

Commit

Permalink
Correcting import
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainv committed May 27, 2024
1 parent 9fa03ea commit 72581ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion geefcc/get_fcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import multiprocessing as mp

from .get_extent_from_aoi import get_extent_from_aoi
from .misc import make_dir
from .misc.miscellaneous import make_dir
from .make_grid import make_grid, grid_intersection
from .geeic2geotiff import geeic2geotiff
from .geotiff_from_tiles import geotiff_from_tiles
Expand Down
8 changes: 4 additions & 4 deletions test/test_get_fcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Import
import os

import geefcc
from geefcc import get_fcc, ee_initialize

# "EARTHENGINE_TOKEN" for GitHub actions
# https://github.com/gee-community/geemap/discussions/1341
Expand All @@ -13,15 +13,15 @@
# with the name EARTHENGINE_TOKEN.

# Initialize GEE
geefcc.ee_initialize(
ee_initialize(
token_name="EARTHENGINE_TOKEN",
project="forestatrisk",
opt_url="https://earthengine-highvolume.googleapis.com")


def test_get_fcc_extent_tmf():
"""Testing get_fcc()."""
geefcc.get_fcc(
get_fcc(
# Extent for Reunion Island
aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519),
buff=0.08983152841195216,
Expand All @@ -35,7 +35,7 @@ def test_get_fcc_extent_tmf():

def test_get_fcc_extent_gfc():
"""Testing get_fcc()."""
geefcc.get_fcc(
get_fcc(
# Extent for Reunion Island
aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519),
buff=0.08983152841195216,
Expand Down

0 comments on commit 72581ec

Please sign in to comment.