phytooracle / environmental_association

Environmental association for thermal and PS2 data from the gantry.
0 stars 1 forks source link

Add "lat" and "lon" columns to PS2 phenotype information to enable combining environmental and phenotype information #3

Open emmanuelgonz opened 11 months ago

emmanuelgonz commented 11 months ago

Adding "lat" and "lon" columns to the PS2 phenotype information will be done by:

  1. For each plot, calculate the center point using the season GeoJSON
  2. Pair center points of each plot with the PS2 phenotype information
  3. Use center point to match image capture metadata to phenotype information on the plot level
emmanuelgonz commented 11 months ago

@jeffreydemieville Please review the following code addressing this issue: https://github.com/phytooracle/environmental_association/blob/249f6d0751979b51259624707d8ffcdcdabb2758/environmental_association.py#L625-L650