Skip to content

Commit

Permalink
⬆️ Bump pygmt from 0.2.0 to 0.2.0+53.gc7c5e
Browse files Browse the repository at this point in the history
Bumps [pygmt](https://github.com/GenericMappingTools/pygmt) from 0.2.0 to 0.2.0+53.gc7c5e.
- [Release notes](https://github.com/GenericMappingTools/pygmt/releases)
  - [Changelog](https://github.com/GenericMappingTools/pygmt/blob/master/doc/changes.rst)
  - [Commits](GenericMappingTools/pygmt@v0.2.0...v0.2.0-53-gc7c5e)

Had to fix a broken test by using a pandas.DataFrame input to `pygmt.info` instead of a pandas.Series, because of GenericMappingTools/pygmt#619. Also pinned intake-geopandas to the v0.2.4 tag, same version, just using the wheel now.
  • Loading branch information
weiji14 committed Nov 11, 2020
1 parent d7a19ec commit 975637c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
5 changes: 3 additions & 2 deletions deepicedrain/vizplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,16 @@ def plot_crossovers(
FORMAT_DATE_MAP="o",
):
# Get plot region, spaced out into nice intervals
# Note that passing time columns into pygmt.info doesn't work yet,
# Note that passing time columns into pygmt.info doesn't work well yet,
# see https://github.com/GenericMappingTools/pygmt/issues/597
plotregion = np.array(
[
df[time_var].min() - pd.Timedelta(1, unit="W"),
df[time_var].max() + pd.Timedelta(1, unit="W"),
*pygmt.info(table=df[elev_var], spacing=spacing)[:2],
*pygmt.info(table=df[[elev_var]], spacing=spacing)[:2],
]
)
# pygmt.info(table=df[[time_var, elev_var]], spacing=f"1W/{spacing}", f="0T")
fig.basemap(
projection="X12c/12c",
region=plotregion,
Expand Down
32 changes: 17 additions & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ geopandas = "^0.8.1"
geoviews = "^1.8.1"
h5netcdf = "^0.8.1"
intake = {extras = ["dataframe", "server"], version = "^0.6.0"}
intake-geopandas = {git = "https://github.com/intake/intake_geopandas.git", rev = "e08c89bdd95216e9ff3f5bb6f8547799e7e7a463"}
intake-geopandas = "^0.2.4"
intake-parquet = "^0.2.3"
intake-xarray = "^0.4.0"
jupyterlab = "^2.2.9"
Expand All @@ -29,7 +29,7 @@ pointcollection = {git = "https://github.com/SmithB/pointCollection.git", rev =
pyarrow = "1.0.1"
pydap = "^3.2.2"
pyepsg = "^0.4.0"
pygmt = "^0.2.0"
pygmt = {git = "https://github.com/GenericMappingTools/pygmt.git", rev = "c7c5eaecf8fedbca584743f6adca4a378851ba9a"}
python = "^3.8"
python-snappy = "^0.5.4"
pyproj = "^3.0.dev2"
Expand Down

0 comments on commit 975637c

Please sign in to comment.