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

Update deps 2024 12 06 #207

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
947 changes: 452 additions & 495 deletions examples/add_public_raster_dataset.ipynb

Large diffs are not rendered by default.

27 changes: 4 additions & 23 deletions examples/add_public_vector_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
{
"data": {
"text/plain": [
"[Volume(name='test_data', path='test_data/')]"
"[Volume(name='test_data', path='test_data/'),\n",
" Volume(name='respect_data', path='/mnt/data_raid/geo_data/respect/')]"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -81,7 +82,7 @@
{
"data": {
"text/plain": [
"MetaDataDefinition(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, oneof_schema_5_validator=None, oneof_schema_6_validator=None, actual_instance=OgrMetaData(loading_info=OgrSourceDataset(attribute_query=None, cache_ttl=None, columns=OgrSourceColumnSpec(bool=None, datetime=None, var_float=[], format_specifics=None, int=[], rename=None, text=[], x='', y=''), data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, default_geometry=None, file_name='vector/data/germany_polygon.gpkg', force_ogr_spatial_filter=None, force_ogr_time_filter=None, layer_name='test_germany', on_error=<OgrSourceErrorSpec.ABORT: 'abort'>, sql_query=None, time=OgrSourceDatasetTimeType(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, actual_instance=OgrSourceDatasetTimeTypeNone(type='none'), one_of_schemas=typing.Literal['OgrSourceDatasetTimeTypeNone', 'OgrSourceDatasetTimeTypeStart', 'OgrSourceDatasetTimeTypeStartDuration', 'OgrSourceDatasetTimeTypeStartEnd'], discriminator_value_class_map={})), result_descriptor=VectorResultDescriptor(bbox=BoundingBox2D(lower_left_coordinate=Coordinate2D(x=5.85249, y=47.271121), upper_right_coordinate=Coordinate2D(x=15.022059, y=55.065334)), columns={}, data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, spatial_reference='EPSG:4326', time=None), type='OgrMetaData'), one_of_schemas=typing.Literal['GdalMetaDataList', 'GdalMetaDataRegular', 'GdalMetaDataStatic', 'GdalMetadataNetCdfCf', 'MockMetaData', 'OgrMetaData'], discriminator_value_class_map={})"
"MetaDataDefinition(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, oneof_schema_5_validator=None, oneof_schema_6_validator=None, actual_instance=OgrMetaData(loading_info=OgrSourceDataset(attribute_query=None, cache_ttl=None, columns=OgrSourceColumnSpec(bool=None, datetime=None, float=[], format_specifics=None, int=[], rename=None, text=[], x='', y=''), data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, default_geometry=None, file_name='vector/data/germany_polygon.gpkg', force_ogr_spatial_filter=None, force_ogr_time_filter=None, layer_name='test_germany', on_error=<OgrSourceErrorSpec.ABORT: 'abort'>, sql_query=None, time=OgrSourceDatasetTimeType(oneof_schema_1_validator=None, oneof_schema_2_validator=None, oneof_schema_3_validator=None, oneof_schema_4_validator=None, actual_instance=OgrSourceDatasetTimeTypeNone(type='none'), one_of_schemas=['OgrSourceDatasetTimeTypeNone', 'OgrSourceDatasetTimeTypeStart', 'OgrSourceDatasetTimeTypeStartDuration', 'OgrSourceDatasetTimeTypeStartEnd'], discriminator_value_class_map={})), result_descriptor=VectorResultDescriptor(bbox=BoundingBox2D(lower_left_coordinate=Coordinate2D(x=5.85249, y=47.271121), upper_right_coordinate=Coordinate2D(x=15.022059, y=55.065334)), columns={}, data_type=<VectorDataType.MULTIPOLYGON: 'MultiPolygon'>, spatial_reference='EPSG:4326', time=None), type='OgrMetaData'), one_of_schemas=['GdalMetaDataList', 'GdalMetaDataRegular', 'GdalMetaDataStatic', 'GdalMetadataNetCdfCf', 'MockMetaData', 'OgrMetaData'], discriminator_value_class_map={})"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -174,26 +175,6 @@
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" Expected `Union[definition-ref, definition-ref, definition-ref, definition-ref, definition-ref, definition-ref]` but got `OgrMetaData` - serialized value may not be as expected\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" return self.__pydantic_serializer__.to_python(\n",
"/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n",
" Expected `Union[definition-ref, definition-ref, definition-ref, definition-ref, definition-ref, definition-ref]` but got `OgrMetaData` - serialized value may not be as expected\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" return self.__pydantic_serializer__.to_python(\n",
"/home/kremerl/geoengine-python/env/lib/python3.10/site-packages/pydantic/main.py:347: UserWarning: Pydantic serializer warnings:\n",
" Expected `list[str]` but got `_LiteralGenericAlias` - serialized value may not be as expected\n",
" return self.__pydantic_serializer__.to_python(\n"
]
},
{
"data": {
"text/plain": [
Expand Down Expand Up @@ -348,7 +329,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Operator: Operator: UnknownDatasetName\n"
"UnknownDatasetName: Dataset name 'germany_polygon' does not exist\n"
]
}
],
Expand Down
52 changes: 26 additions & 26 deletions examples/band_neighborhood_aggregate.ipynb

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions examples/colorizer.ipynb

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions examples/expression.ipynb

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions examples/interpolation.ipynb

Large diffs are not rendered by default.

Loading