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

Cube summary misalignment. #4

Closed
bjlittle opened this issue Aug 6, 2012 · 1 comment
Closed

Cube summary misalignment. #4

bjlittle opened this issue Aug 6, 2012 · 1 comment
Assignees
Milestone

Comments

@bjlittle
Copy link
Member

bjlittle commented Aug 6, 2012

The cube summary markup can be misaligned.

See the output for dimension coordinates and auxiliary coordinates for the following netCDF file:

>>> import iris
>>> filename = '/data/local/dataZoo/NetCDF/label_and_climate/FC_167_mon_19601101.nc'
>>> cube = iris.load_strict(filename)
>>> print cube
air_temperature                     (*ANONYMOUS*: 120; *ANONYMOUS*: 21; latitude: 73; longitude: 144)
     Dimension coordinates:
          latitude                              -                 -             x              -
          longitude                             -                 -             -              x
     Auxiliary coordinates:
          forecast_period                                     x                 -             -              -
          forecast_reference_time                             x                 -             -              -
          Experiment identifier                               -                 x             -              -
          Institution responsible for the forecast system     -                 x             -              -
          Method of production of the data                    -                 x             -              -
          realization                                         -                 x             -              -
     Scalar coordinates:
          height: 2.0 m
     Attributes:
          Comment: Data interpolated from original model grid into a regular grid. Data restrictions:...
          Generator: SeasPy v1.1
          unit_long: kelvin
          Title: ENSEMBLES project
          Created: Thu Apr 16 14:36:57 2009
          Conventions: CF-1.0
          data_type: float
          References: http://www.ecmwf.int/research/EU_projects/ENSEMBLES/index.html, http:/...
     Cell methods:
          mean: leadtime (interval 6 h)
>>> 

The cube summary should also clip the returned name of a coordinate, particularly those that do not have a standard_name and a long long_name.

@bblay
Copy link
Contributor

bblay commented Aug 7, 2012

the pull request for this is up : #5

@bblay bblay closed this as completed Aug 7, 2012
pelson added a commit that referenced this issue Aug 8, 2012
Cube summary misalignment and coordinate name clipping bugfixes. Closes #4.
bblay referenced this issue in bblay/iris Sep 24, 2012
test_quickplot: all images ok
scmc72 pushed a commit to scmc72/iris that referenced this issue Jul 15, 2015
ajdawson added a commit that referenced this issue Jul 21, 2015
Add tests for _xy_range typo fix
pelson added a commit that referenced this issue Jun 27, 2016
Updated so that OSX builds, and the Linux workaround is actually work…
bjlittle added a commit that referenced this issue Apr 27, 2017
* Fix import order.

* Review actions.
corinnebosley pushed a commit that referenced this issue Jun 14, 2017
* Fix import order.

* Review actions.
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