Distributed Computation of NDVI from Landsat Images Using Cloud DataflowGo to Lab
Dear QwikLabs Team, Many Thanks for the Lab about Gcloud NDVI data processing. Kind Regards Binayaka Mishra
Its easy to follow, I have ran into the problem when I tried to submit the Beam pipeline to Dataflow... **./run_oncloud.sh qwiklabs-gcp-c7b8a19286f13240 papapa-bucket CommandException: 1 files/objects could not be removed. Traceback (most recent call last): File "./dfndvi.py", line 16, in <module> import apache_beam as beam File "/usr/local/lib/python2.7/dist-packages/apache_beam/__init__.py", line 78, in <module> from apache_beam import io File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/__init__.py", line 21, in <module> from apache_beam.io.avroio import * File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/avroio.py", line 29, in <module> from apache_beam.io import filebasedsource File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/filebasedsource.py", line 33, in <module> from apache_beam.io.filesystems import FileSystems File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/filesystems.py", line 31, in <module> from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/gcp/gcsfilesystem.py", line 27, in <module> from apache_beam.io.gcp import gcsio File "/usr/local/lib/python2.7/dist-packages/apache_beam/io/gcp/gcsio.py", line 36, in <module> from apache_beam.utils import retry File "/usr/local/lib/python2.7/dist-packages/apache_beam/utils/retry.py", line 38, in <module> from apitools.base.py.exceptions import HttpError File "/usr/local/lib/python2.7/dist-packages/apitools/base/py/__init__.py", line 21, in <module> from apitools.base.py.base_api import * File "/usr/local/lib/python2.7/dist-packages/apitools/base/py/base_api.py", line 31, in <module> from apitools.base.protorpclite import message_types File "/usr/local/lib/python2.7/dist-packages/apitools/base/protorpclite/message_types.py", line 25, in <module> from apitools.base.protorpclite import messages File "/usr/local/lib/python2.7/dist-packages/apitools/base/protorpclite/messages.py", line 1165, in <module> class Field(six.with_metaclass(_FieldMeta, object)): TypeError: Error when calling the metaclass bases metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases ** I was able to learn other works via GCP Tutorials tho :)
Zero Star as I kept getting an error: Error If you are the application owner check the logs for more information.