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

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

Example of use

get_eco_types