-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training and test datasets for togo region #120
Comments
Hi @jlpearso ,
I hope this helps! |
Thank this helps a lot! Can you tell me the best way to call the function that gets the lat Lon box? Or must I look at the shape file myself? Was going to try to filer the labels this way. Thank you! |
You can get the lat/lon box using the following code: from cropharvest.countries import get_country_bbox
togo_bbox = get_country_bbox(country_name="Togo", largest_only=True)
|
Hello! I am very new to this package and was hoping you could clarify if I am understanding things correctly.
I am trying to get a training and test dataset for togo.
Training Data for Togo:
Using the code below I was able to get training data with the correct dimensions based on the demo.ipynb. However my understanding is that the dimensions of this data are [ number of corresponding rows in labels.geojson x (12 months * 18 bands)]. So 1290 rows of togo within the geojson file and 216 values for each band/time. However when I open the geojson file and search for togo datasets the list comes up short with only 1276 entries. Can you confirm if I am misunderstanding the setup?
Additionally does the
is_crop
column mean that for each row the location had crops for the entire year (12 months of regressor data available)?Test Data for Togo:
Also going off the demo notebook, to get the test data I used this code.
Can I confirm that the values are pulled from 'data/test_features/togo-eval.h5'. with the same dimensions of test location, (12 months * 18 bands)?
I really appreciate any help!
The text was updated successfully, but these errors were encountered: