Extending the system¶
Adding a new product or dataset¶
Write a metadata parsing function on the model of landsat_espa or srtm.
Write a product description file and add it to
madmex/conf/indexing.Write an ingestion file and add it to
madmex/conf/ingestion.Document it in the
prepare_metadatacommand line
Developping a recipe¶
Write the recipe function. The function should accept 4 arguments (
tile,gwf,center_dt,path).tileis a tuple as returned bygwd.list_cells(),gwfis aGridWorkflowinstance,center_dtis adatetime, andpathis a string. The function should write to a netcdf file and return the path (str) of the file created.Write a product configuration file and place it in
madmex/conf/indexingAdd an entry to the
RECIPESdictionary inmadmex.recipes.__init__.py(product is the datacube product to query in the command line (apply_recipe), and that will be passed to the function through thetileargument)Add a meaningful example to the docstring of the
apply_recipecommand line.
Adding a new predictive model¶
Write a class named Model in a file named after the model you are implementing under madmex.modeling.supervised. The new class must inherit from madmex.modeling.BaseModel.
Adding a new segmentation algorithm¶
Coming soon