gfw-api/gfw-analysis-gee

View on GitHub
gfwanalysis/utils/geo.py

Summary

Maintainability
B
6 hrs
Test Coverage
F
40%

File geo.py has 402 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import asyncio
import functools as funct
import logging

import ee
Severity: Minor
Found in gfwanalysis/utils/geo.py - About 5 hrs to fix

    Function get_extent_fc has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def get_extent_fc(image, fc, method='reduce_regions', bestEffort=False, scale=False, numPixels=10000):
    Severity: Minor
    Found in gfwanalysis/utils/geo.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status