-
Notifications
You must be signed in to change notification settings - Fork 29
Intercomparison Accuracy Assessment
Ivan Zvonkov edited this page Nov 8, 2023
·
1 revision
Prerequisite: Adding Labeled Data
Inside a local crop-mask
directory run the following commands to setup your project for intercomparison:
conda activate landcover-mapping # Activates python environment
gcloud auth application-default login # Logs into Google Cloud (where data is stored with dvc)
earthengine authenticate # Logs into earthengine
git checkout master # Switches to the master branch
git pull # Pulls the latest code (including .dvc versioning files)
dvc pull # Pulls the latest data (using .dvc versioning files)
ROI="<your ROI name>"
git checkout -b$ROI'-intercomparison' # Creates new branch where intercomparison will be done
mkdir -p maps/$ROI # Creates folder for ROI
cp -r maps/_templates/. maps/$ROI # Copies over template notebooks
Specifically update the python dictionary TEST_CODE
and TEST_COUNTRIES
jupyter notebook .
Navigate to the notebook in maps/$ROI/intercomparison.ipynb
Update the description and cell 3 and run all cells. See example below:
git add .
git commit -m'Created new dataset'
git push