Skip to content

Conversation

@juliasloan25
Copy link
Member

Purpose

I encountered a problem when plotting with Makie, where plotting a variable with longitude in [0, 360] produces an improper plot (see MakieOrg/GeoMakie.jl#290). I wanted to use center_longitude! to recenter the longitude at 0 and produce longitude in [-180, 180], but calling center_longitude!(var, 0) maintains extrema(var.dims["long"]) == (0.0, 360.0), due to the use of circshift.

To-do

Content


  • I have read and checked the items on the review checklist.

@codecov
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.18%. Comparing base (28823aa) to head (54da413).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   98.18%   98.18%           
=======================================
  Files          12       12           
  Lines        1209     1209           
=======================================
  Hits         1187     1187           
  Misses         22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

3 participants