Coder Social home page Coder Social logo

Data Access Issues about presto HOT 3 OPEN

nasaharvest avatar nasaharvest commented on July 17, 2024
Data Access Issues

from presto.

Comments (3)

gabrieltseng avatar gabrieltseng commented on July 17, 2024

Hi ! Apologies for the delay; I somehow missed this issue.

ModuleNotFoundError: No module named 'dataops'

This is a typo in the README - the import path is now presto.dataops

ERROR: (gcloud) Invalid choice: 'storage'.

I suspect this error has to do with the update to the gcloud storage CLI from gsutil. alpha seems to no longer be required - which version of gcloud are you using? But adding alpha seems like it might work, based on the error message. Based on this, the updated command would be:

gcloud storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(EE_BUCKET)") --location=us-central1 
gcloud storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(NPY_BUCKET)") --location=us-central1 
gcloud storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(TAR_BUCKET)") --location=us-central1 

or, with the alpha:

gcloud alpha storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(EE_BUCKET)") --location=us-central1 
gcloud alpha storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(NPY_BUCKET)") --location=us-central1 
gcloud alpha storage buckets create gs://$(python -c "from presto.dataops import EE_BUCKET; print(TAR_BUCKET)") --location=us-central1 

But I haven't tested this yet. Once I do I will update the README.

However all this step does it make the buckets; another option is to just manually make them in the google cloud console - their names are :

I hope this helps, and apologies again for the delay.

from presto.

mburges-cvl avatar mburges-cvl commented on July 17, 2024

Thanks for the answer, but I have another question, what exactly are contained in:

presto/data/dynamic_world_samples_active_shards.geojson

and

presto/data/dynamic_world_samples.geojson

?

Are these the individual files for training (once all active shards, that can be downloaded and once all shards from the original dw dataset)? So could I hypothetically just download these individual files?

Thanks!

from presto.

gabrieltseng avatar gabrieltseng commented on July 17, 2024

presto/data/dynamic_world_samples.geojson provides all the locations used in the exports.

Yes - you can use this file to just download all the data from earthengine.

presto/data/dynamic_world_samples_active_shards.geojson describes which files we have actually exported and used for training (so can be deleted if you are doing a fresh re-export). A new file with your active shards would be written during the export.

from presto.

Related Issues (15)

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.