{"action":"created","issue":{"url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/5","labels_url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/5/comments","events_url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/5/events","html_url":"https://github.com/NOAA-ORR-ERD/PyGnome/issues/5","id":102228286,"number":5,"title":"Full trajectories/paths in netcdf output","user":{"login":"daf","id":228715,"avatar_url":"https://avatars.githubusercontent.com/u/228715?v=3","gravatar_id":"","url":"https://api.github.com/users/daf","html_url":"https://github.com/daf","followers_url":"https://api.github.com/users/daf/followers","following_url":"https://api.github.com/users/daf/following{/other_user}","gists_url":"https://api.github.com/users/daf/gists{/gist_id}","starred_url":"https://api.github.com/users/daf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daf/subscriptions","organizations_url":"https://api.github.com/users/daf/orgs","repos_url":"https://api.github.com/users/daf/repos","events_url":"https://api.github.com/users/daf/events{/privacy}","received_events_url":"https://api.github.com/users/daf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-20T20:21:15Z","updated_at":"2015-08-24T20:41:27Z","closed_at":null,"body":"Hi all,\r\n\r\nI noticed that the WebGnomeAPI/Client projects allow you to download a zip file of your model run, containing two .nc files - both appear to be finishing positions (last timestep) of each particle in the simulation.  Code to generate that [appears to be here](https://github.com/NOAA-ORR-ERD/PyGnome/blob/c87da4386787a50e07e49005deb300b854d6c834/py_gnome/gnome/model.py#L1088-L1112).\r\n\r\nUltimately, we'd like a trajectory for each particle over the entire model run, not just the single timestep.  I'm assuming this is not possible now, but wondering what kind of modifications can be done to support such a thing.  I'm thinking it involves executing a similar method to `_save_spill_data` every time a timestep is computed.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/comments/134373585","html_url":"https://github.com/NOAA-ORR-ERD/PyGnome/issues/5#issuecomment-134373585","issue_url":"https://api.github.com/repos/NOAA-ORR-ERD/PyGnome/issues/5","id":134373585,"user":{"login":"daf","id":228715,"avatar_url":"https://avatars.githubusercontent.com/u/228715?v=3","gravatar_id":"","url":"https://api.github.com/users/daf","html_url":"https://github.com/daf","followers_url":"https://api.github.com/users/daf/followers","following_url":"https://api.github.com/users/daf/following{/other_user}","gists_url":"https://api.github.com/users/daf/gists{/gist_id}","starred_url":"https://api.github.com/users/daf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daf/subscriptions","organizations_url":"https://api.github.com/users/daf/orgs","repos_url":"https://api.github.com/users/daf/repos","events_url":"https://api.github.com/users/daf/events{/privacy}","received_events_url":"https://api.github.com/users/daf/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T20:41:27Z","updated_at":"2015-08-24T20:41:27Z","body":"For instance, here's larvamap's format (posted mostly for the dimensions)\r\n\r\n```python\r\n        time = nc.createVariable('time', 'i', ('time',))\r\n        part = nc.createVariable('particle', 'i', ('particle',))\r\n        depth = nc.createVariable('depth', 'f', ('time', 'particle'))\r\n        lat = nc.createVariable('lat', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        lon = nc.createVariable('lon', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        salt = nc.createVariable('salt', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        temp = nc.createVariable('temp', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        u = nc.createVariable('u', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        v = nc.createVariable('v', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        w = nc.createVariable('w', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        settled = nc.createVariable('settled', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        dead = nc.createVariable('dead', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n        halted = nc.createVariable('halted', 'f', ('time', 'particle'), fill_value=fillvalue)\r\n```"}}