noaa-nwfsc / FishSET

FishSET (fisheries spatial economics toolbox) includes tools for spatial data analysis, running location choice models, and simulating policy scenarios.
https://noaa-nwfsc.github.io/FishSET/
Other
4 stars 0 forks source link

why check for latlon for final table #114

Closed Paul-Carvalho closed 4 months ago

Paul-Carvalho commented 4 months ago

When saving the final table to fishset database, the user must select lat lon coordinates. Look back at why we check for this and see if this is necessary when using the port table for the starting location.

Paul-Carvalho commented 4 months ago

The model checks were previously designed to automatically search for lat-lon variables by searching for "lat" and "lon" patterns in variables names. Consequently, this would get other variables with this pattern that are not coordinates (e.g., a variable with the word "extrapolated" because it contains "lat"). This was changed to make the user select variables manually, but now we realize this isn't always needed. Now users select lat-lon for data checks only if using coordinates for starting location. Otherwise the field is left blank and will still pass the data checks.