Ptrack Particle tracking server
2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth –Client (Nate and Paul) Web app Command line Wget Product generation (Nate)
3 Ptrack – Server Server –Track a single particle –Track ID Run directory created using the ID –Output to.pth,.kml, and database Ogr2ogr does conversions of vector formats –Allows for other particle tracking codes –Problem, ptrack is slow – need to review Aaron R’s modifications
4 Ptrack – Client art/forecasts/ptrackhttp://ambwd02.stccmop.org/datam art/forecasts/ptrack Other clients possible – just need to follow server API.
5 Ptrack – Server API API –ID – character, used to create a directory, not unique –Lat, lon or X, Y – 3601 assumed – - for notifications –Depth – fixed (drifter) or variable (tracer) –Forecast id –Run day or start time – e.g
6 Ptrack – Results From this: – unptrack.php?id=newtest&x= &y= &fcast=fca200nb&depth =1.0&runday= http://rdfs.stccmop.org/ptrack/server/r unptrack.php?id=newtest&x= &y= &fcast=fca200nb&depth =1.0&runday= To this: – ewtest/particle.pthhttp://rdfs.stccmop.org/ptrack/server/n ewtest/particle.pth – jtest/particle.kmlhttp://rdfs.stccmop.org/ptrack/server/p jtest/particle.kml
7 Ptrack – TODO Schema changes in particle track tables Drifter run through Test, test Mapserver – cruise mapper