Skip to content

Commit a8485f4

Browse files
author
Andy Barrett
committed
update section title
1 parent b296c25 commit a8485f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ website:
2727
href: index.qmd
2828
- section: "Getting Started"
2929
contents:
30-
- text: "Our Cookbook"
30+
- text: "How to use this cookbook"
3131
href: our-cookbook.qmd
3232
- text: "Tools we use"
3333
href: tools-we-use.qmd

how-to-guides/get_latitude_and_longitude.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: last-modified
88
My data are in a NetCDF file but there are no latitude and longitude coordinates. How do I get the latitude and longitude for each grid cell center?
99

1010
## Solution
11-
```
11+
```{python}
1212
import numpy as np
1313
1414
import rioxarray
@@ -17,7 +17,7 @@ from pyproj import CRS, Transformer
1717
1818
1919
# Load dataset using decode_coords='all'
20-
ds = xr.open_dataset('example_data/NSIDC0081_SEAICE_PS_N25km_20230627_v2.0.nc',
20+
ds = xr.open_dataset('../example_data/NSIDC0081_SEAICE_PS_N25km_20230627_v2.0.nc',
2121
decode_coords='all')
2222
2323
# Instantiate source pyproj CRS from ds.rio.crs object

0 commit comments

Comments
 (0)