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

New example field: discrete sampling geometry trajectory features #289

Closed
davidhassell opened this issue Feb 26, 2024 · 0 comments · Fixed by #290
Closed

New example field: discrete sampling geometry trajectory features #289

davidhassell opened this issue Feb 26, 2024 · 0 comments · Fixed by #290
Labels
enhancement New feature or request testing Issues related to units tests and their coverage
Milestone

Comments

@davidhassell
Copy link
Contributor

It would be useful to have a "trajectory" DSG example field that can be return by cfdm.example_fields. E.g.

>>> cfdm.example_field(11)
Field: mole_fraction_of_ozone_in_air (ncvar%O3)
-----------------------------------------------
Data            : mole_fraction_of_ozone_in_air(cf_role=trajectory_id(1), ncdim%trajectory(4)) ppb
Auxiliary coords: time(cf_role=trajectory_id(1), ncdim%trajectory(4)) = [[2024-02-26 09:01:00, ..., 2024-02-26 09:04:00]] standard
                : altitude(cf_role=trajectory_id(1), ncdim%trajectory(4)) = [[2577.0, ..., 2563.0]] m
                : air_pressure(cf_role=trajectory_id(1), ncdim%trajectory(4)) = [[751.0, ..., 780.0]] hPa
                : latitude(cf_role=trajectory_id(1), ncdim%trajectory(4)) = [[52.0, ..., 52.2]] degree_north
                : longitude(cf_role=trajectory_id(1), ncdim%trajectory(4)) = [[0.0, ..., 0.31]] degree_east
                : cf_role=trajectory_id(cf_role=trajectory_id(1)) = [flight1]
@davidhassell davidhassell added the enhancement New feature or request label Feb 26, 2024
@davidhassell davidhassell added this to the 1.11.1.0 milestone Feb 26, 2024
@davidhassell davidhassell added the testing Issues related to units tests and their coverage label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Issues related to units tests and their coverage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant