ptrack particle tracking server. 2 ptrack – project overview project –server (paul) provide api...
TRANSCRIPT
![Page 1: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/1.jpg)
PtrackParticle tracking server
![Page 2: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/2.jpg)
2Ptrack – 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)
![Page 3: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/3.jpg)
3Ptrack – 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
![Page 4: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/4.jpg)
4Ptrack – Client
• http://ambwd02.stccmop.org/datamart/forecasts/ptrack
• Other clients possible – just need to follow server API.
![Page 5: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/5.jpg)
5Ptrack – Server API
• API– ID – character, used to create a
directory, not unique– Lat, lon or X, Y – 3601 assumed– Email - for notifications– Depth – fixed (drifter) or variable
(tracer)– Forecast id– Run day or start time – e.g 2009-211
![Page 6: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/6.jpg)
6Ptrack – Results
• From this:– http://rdfs.stccmop.org/ptrack/server/run
ptrack.php?id=newtest&x=316458.73&y=292331.92&fcast=fca200nb&depth=1.0&runday=2009-212
• To this:– http://rdfs.stccmop.org/ptrack/server/ne
wtest/particle.pth– http://rdfs.stccmop.org/ptrack/server/pjt
est/particle.kml
![Page 7: Ptrack Particle tracking server. 2 Ptrack – Project Overview Project –Server (Paul) Provide API Outputs to Postgres and other formats –kml, netcdf, csv,.pth](https://reader036.vdocument.in/reader036/viewer/2022062409/56649f4e5503460f94c70400/html5/thumbnails/7.jpg)
7Ptrack – TODO
• Schema changes in particle track tables
• Drifter run through• Test, test• Mapserver – cruise mapper