You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CODE_OF_CONDUCT.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
40
40
41
41
## Attribution
42
42
43
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
43
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
Copy file name to clipboardExpand all lines: design_notes/flexible_indexes_notes.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ A possible, more explicit solution to reuse a `pandas.MultiIndex` in a DataArray
133
133
134
134
New indexes may also be built from existing sets of coordinates or variables in a Dataset/DataArray using the `.set_index()` method.
135
135
136
-
The [current signature](http://docs.xarray.dev/en/stable/generated/xarray.DataArray.set_index.html#xarray.DataArray.set_index) of `.set_index()` is tailored to `pandas.MultiIndex` and tied to the concept of a dimension-index. It is therefore hardly reusable as-is in the context of flexible indexes proposed here.
136
+
The [current signature](https://docs.xarray.dev/en/stable/generated/xarray.DataArray.set_index.html#xarray.DataArray.set_index) of `.set_index()` is tailored to `pandas.MultiIndex` and tied to the concept of a dimension-index. It is therefore hardly reusable as-is in the context of flexible indexes proposed here.
@@ -669,7 +669,7 @@ typically find tests wrapped in a class.
669
669
classTestReallyCoolFeature: ...
670
670
671
671
Going forward, we are moving to a more *functional* style using the
672
-
`pytest <http://doc.pytest.org/en/latest/>`__ framework, which offers a richer
672
+
`pytest <https://doc.pytest.org/en/latest/>`__ framework, which offers a richer
673
673
testing framework that will facilitate testing and developing. Thus, instead of
674
674
writing test classes, we will write test functions like this:
675
675
@@ -816,7 +816,7 @@ speed up local testing on multicore machines, by running pytest with the optiona
816
816
This can significantly reduce the time it takes to locally run tests before
817
817
submitting a pull request.
818
818
819
-
For more, see the `pytest <http://doc.pytest.org/en/latest/>`_ documentation.
819
+
For more, see the `pytest <https://doc.pytest.org/en/latest/>`_ documentation.
820
820
821
821
Running the performance test suite
822
822
----------------------------------
@@ -891,7 +891,7 @@ Learn `how to write a benchmark and how to use asv from the documentation <https
891
891
see https://github.com/pydata/xarray/pull/5066
892
892
893
893
The *xarray* benchmarking suite is run remotely and the results are
894
-
available `here <http://pandas.pydata.org/speed/xarray/>`_.
894
+
available `here <https://pandas.pydata.org/speed/xarray/>`_.
895
895
896
896
Documenting your code
897
897
---------------------
@@ -1062,7 +1062,7 @@ PR checklist
1062
1062
-**Test your code**.
1063
1063
1064
1064
- Write new tests if needed. See `"Test-driven development/code writing" <https://docs.xarray.dev/en/stable/contributing.html#test-driven-development-code-writing>`_.
1065
-
- Test the code using `Pytest <http://doc.pytest.org/en/latest/>`_. Running all tests (type ``pytest`` in the root directory) takes a while, so feel free to only run the tests you think are needed based on your PR (example: ``pytest xarray/tests/test_dataarray.py``). CI will catch any failing tests.
1065
+
- Test the code using `Pytest <https://doc.pytest.org/en/latest/>`_. Running all tests (type ``pytest`` in the root directory) takes a while, so feel free to only run the tests you think are needed based on your PR (example: ``pytest xarray/tests/test_dataarray.py``). CI will catch any failing tests.
1066
1066
- By default, the upstream dev CI is disabled on pull request and push events. You can override this behavior per commit by adding a ``[test-upstream]`` tag to the first line of the commit message. For documentation-only commits, you can skip the CI per commit by adding a ``[skip-ci]`` tag to the first line of the commit message.
1067
1067
1068
1068
-**Properly format your code** and verify that it passes the formatting guidelines set by `ruff <https://github.com/astral-sh/ruff>`_. See `"Code formatting" <https://docs.xarray.dev/en/stablcontributing.html#code-formatting>`_. You can use `pre-commit <https://pre-commit.com/>`_ to run these automatically on each commit.
Copy file name to clipboardExpand all lines: doc/ecosystem.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Geosciences
52
52
- `xclim <https://xclim.readthedocs.io/>`_: A library for calculating climate science indices with unit handling built from xarray and dask.
53
53
- `xESMF <https://pangeo-xesmf.readthedocs.io/>`_: Universal regridder for geospatial data.
54
54
- `xgcm <https://xgcm.readthedocs.io/>`_: Extends the xarray data model to understand finite volume grid cells (common in General Circulation Models) and provides interpolation and difference operations for such grids.
55
-
- `xmitgcm <http://xmitgcm.readthedocs.io/>`_: a python package for reading `MITgcm <https://mitgcm.org/>`_ binary MDS files into xarray data structures.
55
+
- `xmitgcm <https://xmitgcm.readthedocs.io/>`_: a python package for reading `MITgcm <https://mitgcm.org/>`_ binary MDS files into xarray data structures.
56
56
- `xnemogcm <https://github.com/rcaneill/xnemogcm/>`_: a package to read `NEMO <https://nemo-ocean.eu/>`_ output files and add attributes to interface with xgcm.
57
57
58
58
Machine Learning
@@ -87,11 +87,11 @@ Extend xarray capabilities
87
87
- `xr-scipy <https://xr-scipy.readthedocs.io>`_: A lightweight scipy wrapper for xarray.
88
88
- `X-regression <https://github.com/kuchaale/X-regression>`_: Multiple linear regression from Statsmodels library coupled with Xarray library.
89
89
- `xskillscore <https://github.com/xarray-contrib/xskillscore>`_: Metrics for verifying forecasts.
90
-
- `xyzpy <http://xyzpy.readthedocs.io>`_: Easily generate high dimensional data, including parallelization.
90
+
- `xyzpy <https://xyzpy.readthedocs.io>`_: Easily generate high dimensional data, including parallelization.
91
91
92
92
Visualization
93
93
~~~~~~~~~~~~~
94
-
- `datashader <https://datashader.org>`_, `geoviews <http://geoviews.org>`_, `holoviews <http://holoviews.org/>`_, : visualization packages for large data.
94
+
- `datashader <https://datashader.org>`_, `geoviews <https://geoviews.org>`_, `holoviews <https://holoviews.org/>`_, : visualization packages for large data.
95
95
- `hvplot <https://hvplot.pyviz.org/>`_ : A high-level plotting API for the PyData ecosystem built on HoloViews.
96
96
- `psyplot <https://psyplot.readthedocs.io>`_: Interactive data visualization with python.
97
97
- `xarray-leaflet <https://github.com/davidbrochart/xarray_leaflet>`_: An xarray extension for tiled map plotting based on ipyleaflet.
Copy file name to clipboardExpand all lines: doc/examples/ROMS_ocean_model.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
"cell_type": "markdown",
12
12
"metadata": {},
13
13
"source": [
14
-
"The Regional Ocean Modeling System ([ROMS](http://myroms.org)) is an open source hydrodynamic model that is used for simulating currents and water properties in coastal and estuarine regions. ROMS is one of a few standard ocean models, and it has an active user community.\n",
14
+
"The Regional Ocean Modeling System ([ROMS](https://www.myroms.org/)) is an open source hydrodynamic model that is used for simulating currents and water properties in coastal and estuarine regions. ROMS is one of a few standard ocean models, and it has an active user community.\n",
15
15
"\n",
16
16
"ROMS uses a regular C-Grid in the horizontal, similar to other structured grid ocean and atmospheric models, and a stretched vertical coordinate (see [the ROMS documentation](https://www.myroms.org/wiki/Vertical_S-coordinate) for more details). Both of these require special treatment when using `xarray` to analyze ROMS ocean model output. This example notebook shows how to create a lazily evaluated vertical coordinate, and make some basic plots. The `xgcm` package is required to do analysis that is aware of the horizontal C-Grid."
Copy file name to clipboardExpand all lines: doc/examples/multidimensional-coords.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@
126
126
"cell_type": "markdown",
127
127
"metadata": {},
128
128
"source": [
129
-
"In order to visualize the data on a conventional latitude-longitude grid, we can take advantage of xarray's ability to apply [cartopy](http://scitools.org.uk/cartopy/index.html) map projections."
129
+
"In order to visualize the data on a conventional latitude-longitude grid, we can take advantage of xarray's ability to apply [cartopy](https://scitools.org.uk/cartopy/docs/latest/) map projections."
Sometimes multi-file datasets are not conveniently organized for easy use of :py:func:`open_mfdataset`.
350
350
One can use the ``preprocess`` argument to provide a function that takes a dataset
@@ -496,7 +496,7 @@ If character arrays are used:
496
496
Technically, you can use
497
497
`any string encoding recognized by Python <https://docs.python.org/3/library/codecs.html#standard-encodings>`_ if you feel the need to deviate from UTF-8,
498
498
by setting the ``_Encoding`` field in ``encoding``. But
499
-
`we don't recommend it <http://utf8everywhere.org/>`_.
499
+
`we don't recommend it <https://utf8everywhere.org/>`_.
500
500
- The character dimension name can be specified by the ``char_dim_name`` field of a variable's
501
501
``encoding``. If the name of the character dimension is not specified, the default is
502
502
``f'string{data.shape[-1]}'``. When decoding character arrays from existing files, the
@@ -1395,7 +1395,7 @@ For CSV files, one might also consider `xarray_extras`_.
0 commit comments