jiaxuanyou / crop_yield_prediction Goto Github PK
View Code? Open in Web Editor NEWCrop Yield Prediction with Deep Learning
Crop Yield Prediction with Deep Learning
def export_oneimage(img,folder,name,region,scale,crs):
task = ee.batch.Export.image(img, name, {
'driveFolder':folder,
'driveFileNamePrefix':name,
'region': region,
'scale':scale,
'crs':crs
})
task.start()
while task.status()['state'] == 'RUNNING':
print('Running...')
# Perhaps task.cancel() at some point.
time.sleep(10)
print('Done.', task.status())
county_region = ee.FeatureCollection('ft:1S4EB6319wWW2sWQDPhDvmSBIVrD3iEmCLYB7nMM')
export_oneimage(img.clip(region), path, fname, region, scale, crs)
---------------------------------------------------------------------------
HttpError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/ee/data.py in _execute_cloud_call(call, num_retries)
333 try:
--> 334 return call.execute(num_retries=num_retries)
335 except googleapiclient.errors.HttpError as e:
7 frames
HttpError: <HttpError 400 when requesting https://earthengine.googleapis.com/v1alpha/projects/earthengine-legacy/image:export?alt=json returned "Collection.loadTable: Collection asset 'ft:1S4EB6319wWW2sWQDPhDvmSBIVrD3iEmCLYB7nMM' not found.". Details: "Collection.loadTable: Collection asset 'ft:1S4EB6319wWW2sWQDPhDvmSBIVrD3iEmCLYB7nMM' not found.">
During handling of the above exception, another exception occurred:
EEException Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/ee/data.py in _execute_cloud_call(call, num_retries)
334 return call.execute(num_retries=num_retries)
335 except googleapiclient.errors.HttpError as e:
--> 336 raise _translate_cloud_exception(e)
337
338
EEException: Collection.loadTable: Collection asset 'ft:1S4EB6319wWW2sWQDPhDvmSBIVrD3iEmCLYB7nMM' not found.
I can't read the paper, can I ask if someone solved it?
can you please add sample data for locations data
acres_harvested.csv
file is referenced in GP_crop_v3.py
, but it's not in the repo.
The links to the paper in the readme.md are broken.
Your first folder shows the download data, but how to download the data
All links seem dead. Please advise.
Thanks!
Please add instructions for how to run the code, the most suitable python version, a requirements.txt file and other software requirements.
A master main function which calls all the latest necessary functions based on user's need can make this project more readable.
Can you suggest me an alternate, now that the fusion tables are not avaiable, and also the necessary changes ?
Hello, Could tell me where I can download the administrative shapefiles of USA in the codes? I downloaded shapefiles what can not match your /.cvs files. Some county_num I can not get. For example, I don't the STATE_num.COUNTY_num:1.119.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.