Skip to content

Commit

Permalink
typo fixes in example codes
Browse files Browse the repository at this point in the history
  • Loading branch information
print-sid8 committed Jan 8, 2025
1 parent 22302eb commit c16268d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/basic_workflow_gdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def main():
processor = Rasteret(
custom_name=custom_name,
data_source=data_source,
output_dir=workspace_dir,
workspace_dir=workspace_dir,
date_range=date_range,
)
processor.create_collection(
Expand Down
6 changes: 3 additions & 3 deletions examples/basic_workflow_xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def main():
workspace_dir = Path.home() / "rasteret_workspace"
workspace_dir.mkdir(exist_ok=True)

custom_name = "bangalore"
date_range = ("2024-01-01", "2024-03-31")
custom_name = "bangalore-v3"
date_range = ("2024-03-01", "2024-03-31")
data_source = DataSources.LANDSAT

# Define area and time of interest
Expand Down Expand Up @@ -48,7 +48,7 @@ def main():
processor = Rasteret(
custom_name=custom_name,
data_source=data_source,
output_dir=workspace_dir,
workspace_dir=workspace_dir,
date_range=date_range,
)
processor.create_collection(
Expand Down
10 changes: 5 additions & 5 deletions examples/example_xarray_nb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"id": "259da3f2",
"metadata": {},
"outputs": [],
Expand All @@ -29,7 +29,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"id": "d6cf7929-caed-44c2-825a-b58d5b7bec94",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -96,7 +96,7 @@
"processor = Rasteret(\n",
" custom_name=custom_name,\n",
" data_source=data_source,\n",
" output_dir=workspace_dir,\n",
" workspace_dir=workspace_dir,\n",
" date_range=date_range\n",
")\n",
"processor.create_collection(\n",
Expand Down Expand Up @@ -130,7 +130,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 7,
"id": "aa8f4c96-5c5f-4847-a6f3-1a1a06257312",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -185,7 +185,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.11.0rc1"
}
},
"nbformat": 4,
Expand Down

0 comments on commit c16268d

Please sign in to comment.