Ejemplo n.º 1
0
 def display_stats(self):
     deprecation(
         'The use of display_stats has been deprecated. For scaling imagery use histograms in the image metdata.'
     )
     assert self.graph() is not None
     if self._rda_stats is None:
         self._rda_stats = get_template_stats(
             self._interface.gbdx_futures_session, self._rda_id, self._id,
             **self._params)
     return self._rda_stats
Ejemplo n.º 2
0
import sys
import gbdxtools.rda
from gbdxtools.rda.util import deprecation

deprecation(
    "The module 'gbdxtools.ipe' has been deprecated, functionality has been moved to gbdxtools.rda"
)

sys.modules[__name__] = sys.modules['gbdxtools.rda']
Ejemplo n.º 3
0
 def ipe_id(self):
     deprecation('The use of .ipe_id has been deprecated, please use .rda_id')
     return self.rda_id
Ejemplo n.º 4
0
 def ipe_metadata(self):
     deprecation('The use of .ipe_metadata has been deprecated, please use .metadata')
     return self.metadata
Ejemplo n.º 5
0
import sys
import gbdxtools.rda
from gbdxtools.rda.util import deprecation

deprecation("The module 'gbdxtools.ipe' has been deprecated, functionality has been moved to gbdxtools.rda")

sys.modules[__name__] = sys.modules['gbdxtools.rda']
Ejemplo n.º 6
0
 def ipe(self):
     deprecation('The use of ipe/IPE has been deprecated. Please use rda/RDA.')
     return self._rda_op
Ejemplo n.º 7
0
 def display_stats(self):
     deprecation('The use of display_stats has been deprecated. For scaling imagery use histograms in the image metdata.')
     assert self.graph() is not None
     if self._rda_stats is None:
         self._rda_stats = get_template_stats(self._interface.gbdx_futures_session, self._rda_id, self._id, **self._params)
     return self._rda_stats
Ejemplo n.º 8
0
 def display_stats(self):
     deprecation(
         'The use of display_stats has been deprecated. For scaling imagery use histograms in the image metdata.'
     )
     return self.rda.display_stats
Ejemplo n.º 9
0
 def display_stats(self):
     deprecation('The use of display_stats has been deprecated. For scaling imagery use histograms in the image metdata.')
     return self.rda.display_stats
Ejemplo n.º 10
0
from gbdxtools.rda.interface import RDA
from gbdxtools.rda.util import deprecation

deprecation('The use of ipe/IPE has been depricated. Please use rda/RDA')
Ipe = RDA
Ejemplo n.º 11
0
 def ipe(self):
     deprecation('The use of ipe/IPE has been deprecated. Please use rda/RDA.')
     return self._rda_op
Ejemplo n.º 12
0
 def ipe_id(self):
     deprecation(
         'The use of .ipe_id has been deprecated, please use .rda_id')
     return self.rda_id
Ejemplo n.º 13
0
 def ipe_metadata(self):
     deprecation(
         'The use of .ipe_metadata has been deprecated, please use .metadata'
     )
     return self.metadata
Ejemplo n.º 14
0
 def create_leaflet_viewer(*args, **kwargs):
     deprecation("""IDAHO TMS was deprecated 12/9/2019
                    http://status.geobigdata.io/incidents/d59xzqdnb2nf
                 """)
Ejemplo n.º 15
0
 def get_tms_layers(*args, **kwargs):
     deprecation("""IDAHO TMS was deprecated 12/9/2019
                    http://status.geobigdata.io/incidents/d59xzqdnb2nf
                 """)