Giter Site home page Giter Site logo

Comments (5)

rekhabu avatar rekhabu commented on September 28, 2024

Different image collections yield a significantly different number of images for the same time period over a ROI. How do we decide which is the most appropriate collection for a given application, for example monitoring crop health via vegetation indices. Is there a guideline that can help in this.

from courses.

spatialthoughts avatar spatialthoughts commented on September 28, 2024

You choose the image collection that is best suited for the purpose.

First, determine which sensor you need

For example, Sentinel-2 provides higher resolution but has limited historic coverage. Landsat has thermal bands that can help certain crop analysis and has a 50 year archive but has a lower spatial resolution. Temporal resolution of Sentinel-2 is much better than Landsat, so it allows you to monitor more frequently.

Once you know the sensor you want to use, the preference is always to work with Surface Reflectance (Level 2) data whenever possible. But again this is not always a choice. For example, Sentinel-2 has Level 1 data from 2015 onwards but Level 2 data from 2017 onwards.

So as of now, my recommendation for crop health via vegetation indices is to use Sentinel-2 Level 2 data if you can deal with a limited historical archive.

Another dataset to keep in mind for future is HLS - which is a fusion of both Landsat and Sentinel-2 which maybe a good choice for vegetation monitoring. But it's still not fully available and may take a while for examples to be developed and tested.

Hope this helps.

from courses.

rekhabu avatar rekhabu commented on September 28, 2024

Yes, this was helpful. Thank you for the explanation.

from courses.

halieute avatar halieute commented on September 28, 2024

Good afternoon i need your help here , I tried to follow the instructions for assigning the google earth engine in Qgis and i got this errors "import ee
Traceback (most recent call last):
File "C:\OSGeo4W\apps\Python312\Lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin_init_.py", line 38, in wrapping_ee_import
module = builtin_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\site-packages\ee_init
.py", line 15, in
from ee import utils
File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin_init
.py", line 40, in wrapping_ee_import
if not module.data.credentials:
^^^^^^^^^^^^^
AttributeError: partially initialized module 'ee' has no attribute 'data' (most likely due to a circular import)
exec(Path('C:/Users/DELL/AppData/Local/Temp/tmpq9rfmlyz').read_text())
Traceback (most recent call last):
File "C:\OSGeo4W\apps\Python312\Lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
File "", line 1, in
File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin_init
.py", line 38, in wrapping_ee_import
module = builtin_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\site-packages\ee_init
.py", line 15, in
from ee import utils
File "C:\Users/DELL/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ee_plugin_init
.py", line 40, in wrapping_ee_import
if not module.data._credentials:
^^^^^^^^^^^^^
AttributeError: partially initialized module 'ee' has no attribute 'data' (most likely due to a circular import)"

from courses.

spatialthoughts avatar spatialthoughts commented on September 28, 2024

@halieute Install the EE Python API on your system using conda. Follow the steps at https://courses.spatialthoughts.com/install-gee-python-api.html

Create a new environment and once installed, authenticate using earthengine authenticate. Re-install the plugin and it should work. If you still get the error, create a new QGIS Profile and install the plugin there. Watch this video on how to create a new profile.

from courses.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.