get_eco_types
copies ecotypes from AmPeco.html to global eco_types
Contents
Syntax
get_eco_types(localPath)
Description
sets global eco_types by reading from AmPeco.html. eco_type is a matlab structure with labels. The first-level fields are: climate, ecozone, habitat, embryo, migrate, food, gender, reprod; the second-level fields are the codes
Input
- localPath: optional path to local AmPeco.html for local file read (for off-line use, e.g. '../../add_my_pet/')
Remarks
Writes to global eco_types; type "global eco_types" to access the result. eco_types is a structure with the ecoCodes as first-level fields, and all codes with descriptions as next fields. Re-check this function after edits of AmPeco.html for eco-types
- https://www.bio.vu.nl/thb/deb/deblab/add_my_pet/AmPeco.html
Example of use
get_eco_types