Skip to content

Fix/38#39

Merged
Chilipp merged 8 commits intodevelopfrom
fix/38
Nov 21, 2021
Merged

Fix/38#39
Chilipp merged 8 commits intodevelopfrom
fix/38

Conversation

@Chilipp
Copy link
Member

@Chilipp Chilipp commented Oct 15, 2021

This PR adds a small fix highlighted by #38. The update method for the dimensions uses the coordinates to select the default slices for dimensions. But it should only take the coordinates that are dimensions in the dataset...

closes #38

  • Tests added (for all bug fixes or enhancements)
  • Tests passed (for all non-documentation changes)
  • Fully documented, including CHANGELOG.rst for all changes

@codecov
Copy link

codecov bot commented Oct 15, 2021

Codecov Report

Merging #39 (68328c3) into develop (7f2de23) will decrease coverage by 0.00%.
The diff coverage is 78.94%.

❗ Current head 68328c3 differs from pull request most recent head 87a948c. Consider uploading reports for the commit 87a948c to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #39      +/-   ##
===========================================
- Coverage    77.50%   77.49%   -0.01%     
===========================================
  Files           16       16              
  Lines         5762     5782      +20     
===========================================
+ Hits          4466     4481      +15     
- Misses        1296     1301       +5     
Impacted Files Coverage Δ
psyplot/plotter.py 91.61% <71.42%> (-0.14%) ⬇️
psyplot/data.py 72.67% <80.64%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f2de23...87a948c. Read the comment docs.

@Chilipp Chilipp changed the base branch from master to develop October 15, 2021 20:34
@Chilipp Chilipp marked this pull request as ready for review November 21, 2021 22:12
@Chilipp Chilipp merged commit 25d8320 into develop Nov 21, 2021
Chilipp added a commit that referenced this pull request Jan 5, 2022
Compatibility fixes and minor improvements, see #46 for full details.

Added
-----
-   An abstract `convert_coordinate` method has been implemented for the  `Plotter` and `Formatoption` class that can be used in subclasses to convert coordinates for the required visualization. The default implementation does nothing (see #39)

Fixed
-----
-   the update method now only takes the coordinates that are dimensions in the dataset, see #39
-   psyplot is now compatible with matplotlib 3.5 and python 3.10

Changed
-------
-   loading more than one variables into a `DataArray` now first selects the corresponding dimensions, then puts it into a single `DataArray`. This avoids loading the entire data (see #39)
@Chilipp Chilipp mentioned this pull request Jan 6, 2022
3 tasks
Chilipp added a commit to psyplot/psy-simple that referenced this pull request Feb 14, 2022
Compatibility fixes

Changed
=======

- We now use the new `convert_coordinate` method that has been introduced with
  psyplot v1.4.1 (see psyplot/psyplot#39 and #30)

Fixed
=====
- psy-simple is now compatible with matplotlib 3.5 (see #31)
Chilipp added a commit to psyplot/psy-maps that referenced this pull request Feb 14, 2022
Fix projection issues

Fixed
-----

- `false_easting` and `false_northing` are now expected to be optional
  arguments for most projections (see #41)

Changed
-------
- we now use the `convert_coordinate` method that has been introduced
  in psyplot/psyplot#39 and psyplot/psy-simple#30. See #41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HRRR : Failed to get CRS from crs variable LambertConfor mal_Projection

1 participant