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

thin: add examples #6663

Merged
merged 20 commits into from
Jun 7, 2022
Merged

thin: add examples #6663

merged 20 commits into from
Jun 7, 2022

Conversation

e-marshall
Copy link
Contributor

@e-marshall e-marshall commented Jun 3, 2022

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

@dcherian
Copy link
Contributor

dcherian commented Jun 3, 2022

Thanks @e-marshall

The doctest failure is because you need to delete a few spaces to align 17 ... (I clicked "details" to see this).
image

@e-marshall
Copy link
Contributor Author

Thanks @e-marshall

The doctest failure is because you need to delete a few spaces to align 17 ... (I clicked "details" to see this). image

Ok, thanks @dcherian , I'll make those changes

xarray/core/dataarray.py Outdated Show resolved Hide resolved
xarray/core/dataset.py Outdated Show resolved Hide resolved
xarray/core/dataarray.py Show resolved Hide resolved
xarray/core/dataarray.py Outdated Show resolved Hide resolved
xarray/core/dataset.py Outdated Show resolved Hide resolved
e-marshall and others added 3 commits June 3, 2022 17:25
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
@dcherian
Copy link
Contributor

dcherian commented Jun 3, 2022

Here's how you can run the doctests locally in an environment created using

mamba env create -f ci/requirements/environment.yml
conda activate xarray-tests
pytest --doctest-modules xarray --ignore xarray/tests

@e-marshall
Copy link
Contributor Author

Here's how you can run the doctests locally in an environment created using

mamba env create -f ci/requirements/environment.yml
conda activate xarray-tests
pytest --doctest-modules xarray --ignore xarray/tests

Okay, thanks ! I'll give that a try

@dcherian
Copy link
Contributor

dcherian commented Jun 6, 2022

Thanks @e-marshall Doctests pass and the unrelated test failures should be fixed by #6667

@dcherian dcherian marked this pull request as ready for review June 7, 2022 18:28
@dcherian dcherian changed the title Tail add example thin: add examples Jun 7, 2022
Copy link
Member

@andersy005 andersy005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much @e-marshall for this addition and welcome to xarray 🥳🎉

@andersy005 andersy005 merged commit 56f05c3 into pydata:main Jun 7, 2022
dcherian added a commit to dcherian/xarray that referenced this pull request Jun 12, 2022
* main:
  pass kwargs through from save_mfdataset to to_netcdf (pydata#6686)
  Docs: indexing.rst finetuning (pydata#6685)
  use micromamba instead of mamba (pydata#6674)
  install the development version of `matplotlib` into the upstream-dev CI (pydata#6675)
  Add whatsnew section for v2022.06.0
  release notes for 2022.06.0rc0
  release notes for the pre-release (pydata#6676)
  more testpypi workflow fixes (pydata#6673)
  thin: add examples (pydata#6663)
  Update multidimensional-coords.ipynb (pydata#6672)
  try to finally fix the TestPyPI workflow (pydata#6671)
  pin setuptools in the modify script (pydata#6669)
  fix the python version for the TestPyPI workflow (pydata#6668)
  upload wheels from `main` to TestPyPI (pydata#6660)
  Set keep_attrs for flox (pydata#6667)
dcherian added a commit to bzah/xarray that referenced this pull request Jun 24, 2022
* main: (129 commits)
  docs on specifying chunks in to_zarr encoding arg (pydata#6542)
  [skip-ci] List count under Aggregation (pydata#6711)
  Add `Dataset.dtypes` property (pydata#6706)
  try to import `UndefinedVariableError` from the new location (pydata#6701)
  DOC: note of how `chunks` can be defined (pydata#6696)
  pdyap version dependent client.open_url call (pydata#6656)
  use `pytest-reportlog` to generate upstream-dev CI failure reports (pydata#6699)
  [pre-commit.ci] pre-commit autoupdate (pydata#6694)
  Bump actions/setup-python from 3 to 4 (pydata#6692)
  Fix Dataset.where with drop=True and mixed dims (pydata#6690)
  pass kwargs through from save_mfdataset to to_netcdf (pydata#6686)
  Docs: indexing.rst finetuning (pydata#6685)
  use micromamba instead of mamba (pydata#6674)
  install the development version of `matplotlib` into the upstream-dev CI (pydata#6675)
  Add whatsnew section for v2022.06.0
  release notes for 2022.06.0rc0
  release notes for the pre-release (pydata#6676)
  more testpypi workflow fixes (pydata#6673)
  thin: add examples (pydata#6663)
  Update multidimensional-coords.ipynb (pydata#6672)
  ...
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.

4 participants