Skip to content
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

How to use trajectory features? #101

Open
marceloandrioni opened this issue Nov 21, 2017 · 3 comments
Open

How to use trajectory features? #101

marceloandrioni opened this issue Nov 21, 2017 · 3 comments

Comments

@marceloandrioni
Copy link

marceloandrioni commented Nov 21, 2017

Some releases mention improvements to trajectory features plotting but I couldn't find a description of the format of the netcdf file I should use. Do I need specific names for the dimensions/variables? Should I use http://cfconventions.org/Data/cf-conventions/cf-conventions-1.6/build/cf-conventions.html#discrete-sampling-geometries to create the file? Do I need to pass a "Data reading class" like uk.ac.rdg.resc.edal.dataset.cdm.En3DatasetFactory? If possible could you make a netcdf file available to test this features?
Thank you very much.

@guygriffiths
Copy link
Contributor

Currently there is no planned support for reading trajectory features from NetCDF. I implemented them in EDAL for use in an upcoming project (which interfaces with a 3rd party database to read features), and they will work in ncWMS2 if a suitable DatasetFactory is found (and configured in the "Data reading class" field, as you suggest). Currently the only implementation of a DatasetFactory which produces TrajectoryFeatures is FakeTrajectoryDatasetFactory, which I created for testing.

@marceloandrioni
Copy link
Author

Ok, thanks for the info. I had seen the reference for trajectory features in the news for versions 1.2.12 and 1.2.11 and got confused. I will be closing this issue then. Thank you.

@guygriffiths
Copy link
Contributor

No worries. I'm going to leave it open as an enhancement, since it has the link to the CF conventions on how to implement trajectories in NetCDF That way if we do get time, we can implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants