7yl4r / extracted_sat_ts_gom_csv_data

0 stars 0 forks source link

Best way to store location information for data extraction? #1

Open dotis opened 1 year ago

dotis commented 1 year ago

@7yl4r

Currently, I have ROI information saved in MATLAB format (.mat).

There are two types of extraction for the dashboards (points and polygons). Points are simply a center pixel, which is then "buffered" by a number of pixels to create a box where data is extracted. Polygons are a list of points where data is extracted. Going forward, as we move to using GOM only and potentially going away from MATLAB, in what file format(s) should these points and polygons be stored?

7yl4r commented 1 year ago

Well Known Text (wkt) seems to be a good standard. Is it easy to read/write .wkt into MATLAB?

dotis commented 1 year ago

I think so. If not, JSON would also be an option.

dotis commented 1 year ago

I have added a file to the repo.

"FK_ROI_WKT.csv"

We can try this to extract values from sat images in the new py workflow when the time comes.

dotis commented 1 year ago

It looks like the "box" extractions are in MULTIPOINT form with corners defined rather then just the center pixel. so, in the WKT file, we have POLYGONS and MULTIPOINTS.

dotis commented 1 year ago

Added a notes file to the repo.

https://github.com/7yl4r/extracted_sat_ts_gom_csv_data/blob/main/Notes.md