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

Merge develop into main for release 0.7.0 #370

Merged
merged 69 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
b4e0a4b
Merge pull request #291 from ecmwf/main
sandorkertesz Jan 26, 2024
1a1d311
Implement parts for file source for GRIB and BUFR data (#293)
sandorkertesz Feb 5, 2024
8631025
Merge branch 'main' into feature/merge-from-main
sandorkertesz Feb 6, 2024
3b61bd8
Merge pull request #297 from ecmwf/feature/merge-from-main
sandorkertesz Feb 6, 2024
c6266eb
196 attempt to detect filename when saving (#218)
EddyCMWF Feb 14, 2024
6ef4803
Add shapefile support (#304)
sandorkertesz Feb 19, 2024
9e933ed
Merge branch 'main' into feature/merge-0.5.2-into-develop
sandorkertesz Feb 19, 2024
2a33ace
Merge pull request #308 from ecmwf/feature/merge-0.5.2-into-develop
sandorkertesz Feb 19, 2024
942829b
Fix split_on option for retrievals (#309)
sandorkertesz Feb 20, 2024
9cc58e5
Adds Lambert Conformal support (#303)
JamesVarndell Feb 20, 2024
1bb4c44
Refactor parts in file and url sources (#310)
sandorkertesz Feb 20, 2024
fb3e805
Improve retrieval prompt (#311)
sandorkertesz Feb 22, 2024
f9eafe2
Remove debug print statement from cds source (#312)
sandorkertesz Feb 22, 2024
6ec409c
Merge branch 'main' into feature/merge-from-main
sandorkertesz Feb 22, 2024
e9fce30
Merge pull request #317 from ecmwf/feature/merge-from-main
sandorkertesz Feb 22, 2024
0dbad8c
Add timeout to cds tests (#320)
sandorkertesz Feb 23, 2024
04058ae
Add link to earthkit in the docs (#321)
sandorkertesz Feb 23, 2024
8594761
Fix typo in docs (#322)
sandorkertesz Feb 26, 2024
b955e69
from_source should fail when try to load empty file (#319)
sandorkertesz Mar 1, 2024
fd573d1
Fix typo in docs (#322) (#325)
sandorkertesz Mar 1, 2024
1b61b74
Add source to load sample data (#318)
sandorkertesz Mar 4, 2024
06e3077
Merge branch 'main' into feature/merge-main-to-develop
sandorkertesz Mar 4, 2024
e7d8f50
Merge pull request #331 from ecmwf/feature/merge-main-to-develop
sandorkertesz Mar 4, 2024
72bd65a
Allow None for bits_per_values when saving GRIB data (#327)
sandorkertesz Mar 5, 2024
1630091
Feature/array (#332)
sandorkertesz Mar 5, 2024
e689fef
Fix pandas notebook test (#334)
sandorkertesz Mar 6, 2024
4b67034
Fix ecmwf open data notebook (#335)
sandorkertesz Mar 6, 2024
e2f5af0
Add model option to ecmwf-open-data source (#336)
sandorkertesz Mar 6, 2024
a00f566
Restructure examples (#340)
sandorkertesz Mar 11, 2024
070c3ae
Merge branch 'main' into feature/merge-from-main
sandorkertesz Mar 12, 2024
699aa3a
Merge pull request #342 from ecmwf/feature/merge-from-main
sandorkertesz Mar 12, 2024
fc46bb9
Feature/fix failing grib indexing notebook test (#344)
sandorkertesz Mar 13, 2024
c8445e7
Feature/optional dependencies (#269)
sandorkertesz Mar 15, 2024
f8c7d32
Increase eccodes minimum version (#345)
sandorkertesz Mar 15, 2024
bdc87db
Remove geo module (#347)
sandorkertesz Mar 15, 2024
0d5a6a0
Improve initial import (#348)
sandorkertesz Mar 17, 2024
7fce8ef
Improve source lookup (#349)
sandorkertesz Mar 19, 2024
35aa6ab
Fix grib1 scanning (#350)
sandorkertesz Mar 19, 2024
5aaa172
Merge 0.6.0 into develop
sandorkertesz Mar 28, 2024
b9ed137
Merge pull request #354 from ecmwf/feature/merge-0.6.0-into-develop
sandorkertesz Mar 28, 2024
daf9345
Harmonise with climetlab
sandorkertesz Apr 9, 2024
ea194e7
Harmonise with climetlab
sandorkertesz Apr 10, 2024
99adead
Harmonise with climetlab
sandorkertesz Apr 11, 2024
eceaa74
Harmonise with climetlab
sandorkertesz Apr 12, 2024
8372f4d
Harmonise with climetlab
sandorkertesz Apr 12, 2024
259936f
Fix using force option for cache
sandorkertesz Apr 12, 2024
cb4ff34
Merge pull request #355 from ecmwf/feature/harmonise-with-climetlab
sandorkertesz Apr 12, 2024
bfc7ef3
Merge branch 'develop' into feature/fix-cache-using-force-option
sandorkertesz Apr 12, 2024
93f2516
Fix using force option for cache
sandorkertesz Apr 12, 2024
9a6f599
Merge pull request #356 from ecmwf/feature/fix-cache-using-force-option
sandorkertesz Apr 12, 2024
5dd8038
Review optional dependency import error messages
sandorkertesz Apr 12, 2024
d6eca58
Merge pull request #357 from ecmwf/feature/review-optional-dependency…
sandorkertesz Apr 12, 2024
f70375a
Fix cds errors due to dict merge operator
sandorkertesz Apr 12, 2024
370152d
Fix cds errors due to dict merge operator
sandorkertesz Apr 13, 2024
17b7afd
Merge pull request #358 from ecmwf/feature/fix-dictionary-union-in-pr…
sandorkertesz Apr 13, 2024
fcaee35
Enable header only grib message cloning
sandorkertesz Apr 15, 2024
0949b9c
Merge pull request #359 from ecmwf/feature/header-only-grib-clone
sandorkertesz Apr 15, 2024
dcad674
Fix failing cds netcdf test using save without arguments
sandorkertesz Apr 15, 2024
cf038f5
Merge pull request #360 from ecmwf/feature/fix-failing-netcdf-save-test
sandorkertesz Apr 15, 2024
faf00e5
Fix netcdf xy coordinate access
sandorkertesz Apr 15, 2024
0767a87
Merge pull request #361 from ecmwf/feature/fix-netcdf-xy-coordinate-g…
sandorkertesz Apr 15, 2024
c0267dd
Add docs for 0.7.0 release
sandorkertesz Apr 15, 2024
bdc7f23
Merge pull request #362 from ecmwf/feature/add-docs-for-0.7.0-release
sandorkertesz Apr 15, 2024
7fc3ad8
Add credential options to polytope source (#363)
sandorkertesz Apr 16, 2024
d2f771b
Add opendap source (#365)
sandorkertesz Apr 16, 2024
f2e06d3
Update release notes for 0.7.0 (#366)
sandorkertesz Apr 17, 2024
6b2d41b
Feature/change optional dependencies (#367)
sandorkertesz Apr 17, 2024
0212f7f
Pass polytope from_source kwargs to polytope client (#368)
sandorkertesz Apr 17, 2024
99eace2
Review netcdf to_xarray args (#369)
sandorkertesz Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ docs/examples/_*
docs/examples/earthkit_use_cases/*.grib
docs/examples/_fdb
docs/examples/*.db
docs/examples/*.json
docs/examples/*.geojson

# PyBuilder
.pybuilder/
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ qa:
pre-commit run --all-files

unit-tests:
python -m pytest -vv -m 'not notebook and not no_cache_init and not plugin' --cov=. --cov-report=$(COV_REPORT)
python -m pytest -vv -m 'not notebook and not no_cache_init' --cov=. --cov-report=$(COV_REPORT)
python -m pytest -v -m "notebook"
python -m pytest --forked -vv -m 'no_cache_init'
python -m pytest -v -m "plugin"

# type-check:
# python -m mypy .
Expand Down
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@

xref_links = {
"cfgrib": ("cfgirb", "https://github.com/ecmwf/cfgrib"),
"earthkit": ("earthkit", "https://earthkit.readthedocs.io/en/latest/"),
"earthkit-geo": (
"earthkit-geo",
"https://earthkit-geo.readthedocs.io/en/latest/",
),
"earthkit-regrid": (
"earthkit-regrid",
"https://earthkit-regrid.readthedocs.io/en/latest/",
Expand Down
14 changes: 13 additions & 1 deletion docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,19 @@ To run the test suite, you can use the following command:

.. code-block:: shell

pytest
make unit-tests

Please note this will not run any of the tests based on remote services e.g. :ref:`data-sources-mars`. These are disabled by default because they can take a very long time to complete or just hang. To enable all these tests you need to run:

.. code-block:: shell

pytest -E long -v

If just want to run e.g. the :ref:`data-sources-cds` tests you can use:

.. code-block:: shell

pytest -E long -v -k cds


Build documentation
Expand Down
84 changes: 0 additions & 84 deletions docs/examples.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/examples/ads.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tags": []
},
"source": [
"## Retrieving CAMS data from the ADS"
"## Retrieving data from the ADS"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/bufr_synop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tags": []
},
"source": [
"## Using BUFR SYNOP data"
"## BUFR: using SYNOP data"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/bufr_temp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tags": []
},
"source": [
"## Using BUFR TEMP data"
"## BUFR: using TEMP data"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/cds.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tags": []
},
"source": [
"## Retrieving ERA5 data from the CDS"
"## Retrieving data from the CDS"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tags": []
},
"source": [
"## Reading GRIB from a stream"
"## Reading data from a stream"
]
},
{
Expand Down
53 changes: 27 additions & 26 deletions docs/examples/ecmwf_open_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"ds = earthkit.data.from_source(\"ecmwf-open-data\", \n",
" param=[\"t\", \"gh\"],\n",
" levelist=\"500\",\n",
" step=[0,6,12])"
" step=[0, 24, 48]\n",
" )"
]
},
{
Expand Down Expand Up @@ -104,8 +105,8 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
Expand All @@ -117,8 +118,8 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
Expand All @@ -130,9 +131,9 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>6</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -143,9 +144,9 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>6</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -156,9 +157,9 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>12</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>48</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -169,9 +170,9 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>12</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>48</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -182,12 +183,12 @@
],
"text/plain": [
" centre shortName typeOfLevel level dataDate dataTime stepRange \\\n",
"0 ecmf t isobaricInhPa 500 20230630 600 0 \n",
"1 ecmf gh isobaricInhPa 500 20230630 600 0 \n",
"2 ecmf t isobaricInhPa 500 20230630 600 6 \n",
"3 ecmf gh isobaricInhPa 500 20230630 600 6 \n",
"4 ecmf t isobaricInhPa 500 20230630 600 12 \n",
"5 ecmf gh isobaricInhPa 500 20230630 600 12 \n",
"0 ecmf t isobaricInhPa 500 20240306 0 0 \n",
"1 ecmf gh isobaricInhPa 500 20240306 0 0 \n",
"2 ecmf t isobaricInhPa 500 20240306 0 24 \n",
"3 ecmf gh isobaricInhPa 500 20240306 0 24 \n",
"4 ecmf t isobaricInhPa 500 20240306 0 48 \n",
"5 ecmf gh isobaricInhPa 500 20240306 0 48 \n",
"\n",
" dataType number gridType \n",
"0 fc None regular_ll \n",
Expand All @@ -210,17 +211,17 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1d489e50-8076-4fad-a090-0faffe64b7eb",
"id": "e59c45e5-fa81-42ee-9ec8-8d3908f5111e",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "dev",
"display_name": "dev_ecc",
"language": "python",
"name": "dev"
"name": "dev_ecc"
},
"language_info": {
"codemirror_mode": {
Expand Down
Loading
Loading