-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Output Formats #90
Comments
polygon could be created by full enclosing polygon or by slightly outlier filtered polygon. |
Plotters often do support weather data aka grib files. KML is supported by flight planning tools (if i am not mistaken). I think the lowest fruit would be plain text in the mail with exact location in dm of clusters |
yes this is the lowest possible interface, but the area always resembles a complex geometry, which i think should be at best somehow transported too. Maybe we should investigate / ask which plotters ship use and then provide some more formats. We dont need to limit us to only one. |
KML export all Points with timestamp: import simplekml
def export_kml(simulation):
lons,lats=simulation.get_lonlats()
time_array=simulation.get_time_array()
kml=simplekml.Kml()
for i in range(len(time_array[0])):
for j in range(len(lons[...,i])):
point=kml.newpoint(name=f'Point{i+j}')
point.coords=[(lons[j,i],lats[j,i])]
point.timestamp.when=time_array[0][i].strftime('%Y-%m-%dT%H:%M:%S') |
Density maps can be exported to geotiff with rioxarray. Geotiffs can then be read by opencpn PhotoLayer Plugin |
We need a more qualitative output format that gives discreet latitude and longitude to put in a chart plotter.
Possible Solution:
See also #81
The text was updated successfully, but these errors were encountered: