• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jjhelmus / pyart / 793 / 1
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2015 05:05PM UTC
Files 72
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2015 04:49PM UTC coverage: 82.738% (-2.7%) from 85.464%
PYTHON_VERSION="2.7" NOSE_ARGS="-v --no-skip --with-cov --cov pyart pyart" COVERALLS="true"

push

travis-ci

jjhelmus
Merge pull request #434 from jjhelmus/new_grid_layout

ENH: New Layout for Grid class

Introduce a new improved layout for the **Grid** class.  The new class has the following attributes:

* fields
* metadata
* time
* origin_latitude, origin_longitude, origin_altitude : specifying the geographic location of the grid origin
* x, y, z : specifying the regular Cartesian/cartographic distances from the grid origin.
* nx, ny, nz : the sizes of the three above dimensions.
* projection : specified the map projection used to transform between Cartesian and geographic coordinates.
* radar_latitude, radar_longitude, radar_altitude : Geographic location of the radar which were used to create the grid.
* radar_name, radar_time : Additional information about the radars which were used to create the grid.
* nradar : number of radar used to create the grid.

Additional the following attribute are lazily loaded upon first access of the 'data' key:

* point_x, point_y, point_z : Cartesian/cartographic location of all grid points.
* point_latitude, point_longitude, point_altitude : Geographic location of all grid point using the map projection specified by the *projection* attribute

The legacy *axes* attribute is still available but will be depreciated in future Py-ART versions.  

**Grid** objects are creating using a new set of parameters. Support for creating **Grid** objects using the legacy parameters is available using the `Grid.from_legacy_parameters` class method, which will be depreciated in future Py-ART versions.

The variables inside of the NetCDF files which Py-ART creates to store Grid objects have changed to match these new parameter names.  The `write_grid` and `read_grid` function use this new format.  The `read_legacy_grid` function is provide to read in NetCDF file using the older grid format, this function will be depreciated in future Py-ART versions.  

To further aid in the transition to the new Grid file layout, a **convert_legacy_grid** script is included with Py-ART which will create new style NetCDF files from the legacy NetCDF grid files.  This script does not make use of any functions inside Py-ART and should be usable regardless of if or what version of Py-ART is installed.

All code in Py-ART and examples have been update to use the new Grid layout and file format.

Finally the as the functionally of the `add_2d_latlon_axis` is now available in the *point_latitude* and *point_longitude* this function is depreciated and will be removed in future version of Py-ART.

Implements and closes #285

6298 of 7612 relevant lines covered (82.74%)

0.83 hits per line

Source Files on job 793.1 (PYTHON_VERSION="2.7" NOSE_ARGS="-v --no-skip --with-cov --cov pyart pyart" COVERALLS="true")
  • Tree
  • List 0
  • Changed 17
  • Source Changed 13
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 793
  • Travis Job 793.1
  • 0b39f4ed on github
  • Prev Job for PYTHON_VERSION="2.7" NOSE_ARGS="-v --no-skip --with-cov --cov pyart pyart" COVERALLS="true" on master (#763.1)
  • Next Job for PYTHON_VERSION="2.7" NOSE_ARGS="-v --with-cov --cov pyart pyart" COVERALLS="true" on master (#811.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc