Skip to content
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

Revisit active cropland marker in the frame work of Phase II #16

Open
kvantricht opened this issue Jan 22, 2024 · 7 comments
Open

Revisit active cropland marker in the frame work of Phase II #16

kvantricht opened this issue Jan 22, 2024 · 7 comments
Assignees
Milestone

Comments

@kvantricht
Copy link
Contributor

kvantricht commented Jan 22, 2024

  • Translate current active cropland marker to the WorldCereal UDF using GFMAP
  • Test on globally representative dataset different season detection parameters
@kvantricht
Copy link
Contributor Author

@GriffinBabe, task will be explained when we get at it, near the end of March.

@jdegerickx
Copy link
Contributor

@jdegerickx --> Prepare demo notebook showing how to apply the active cropland marker on the following toy dataset:

/vitodata/worldcereal/data/openeo/inputs_presto/preprocessed_merged/belgium_good_2020-12-01_2021-11-30.nc

NOTE: we should investigate the impact of moving to MONTHLY composites on the performance of the algorithm!

@jdegerickx
Copy link
Contributor

@kvantricht, could you point me to the code you used to generate the inputs located in:
/vitodata/worldcereal/data/openeo/inputs_presto/preprocessed_merged/belgium_good_2020-12-01_2021-11-30.nc

I'd like to generate a dekadal version and extend the time period a bit to test active cropland marker...

@kvantricht
Copy link
Contributor Author

@kvantricht
Copy link
Contributor Author

@jdegerickx FYI, just pushed something that may help parsing the compositing window as processing option: https://github.com/WorldCereal/wc-classification/blob/openeo/src/worldcereal/openeo/patches.py#L48

you could now try something like:

# Initialize the extractor
extractor = ExtractCDSE(gdf_cdse, 
     endpoint='https://openeo.dataspace.copernicus.eu/',
     patch_size=patch_size,
     target_dir=raw_extractions_dir,
     parallel_jobs=2,
     composite_window='dekad'
     )

and let me know if that works.

@kvantricht kvantricht modified the milestones: System V1, System V2 Sep 11, 2024
@jdegerickx jdegerickx modified the milestones: System V2, System V3 Nov 21, 2024
@jdegerickx
Copy link
Contributor

Decided to postpone this activity to after System v2 release.
We are inclined to abandon the previous approach.

This requires a new benchmarking experiment:

  • set up a benchmarking dataset, globally representative, of patches with crop type information
  • run an experiment with Presto, in which you feed a partially masked timeseries (everything out of season of interest is masked out) and just run the default crop/no-crop model --> does this result in meaningful results? @cbutsko to define a separate issue for this
  • develop a simple unsupervised approach using expert features (min and max EVI, presence/absence of sharp increases and decreases, ...) (cf Sen2Agri features)
  • Compare both previous approaches with our traditional way (which is already implemented in a separate script based on openeo extractions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants