Skip to content

Commit

Permalink
fix plots path
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmbertr committed Oct 27, 2023
1 parent bfaa333 commit eafc477
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
22 changes: 11 additions & 11 deletions notebooks/alboran_sea/alboran_sea.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ax2.quiver(lon[::quiver_step, ::quiver_step], lat[::quiver_step, ::quiver_step],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_11_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_11_0.png?raw=true)

### Compute spatial steps

Expand Down Expand Up @@ -167,9 +167,9 @@ im = ax2.pcolormesh(lon, lat, (np.sqrt(uvel**2 + vvel**2) - np.sqrt(u_geos**2 +
plt.colorbar(im, ax=ax2)
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_20_2.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_20_2.png?raw=true)

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_20_3.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_20_3.png?raw=true)

## Cyclogeostrophic balance

Expand Down Expand Up @@ -214,9 +214,9 @@ im = ax2.pcolormesh(lon, lat, (np.sqrt(uvel**2 + vvel**2) - np.sqrt(u_var**2 + v
plt.colorbar(im, ax=ax2)
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_26_2.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_26_2.png?raw=true)

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_26_3.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_26_3.png?raw=true)

### Penven method

Expand Down Expand Up @@ -259,9 +259,9 @@ im = ax2.pcolormesh(lon, lat, (np.sqrt(uvel**2 + vvel**2) - np.sqrt(u_penven**2
plt.colorbar(im, ax=ax2)
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_31_1.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_31_1.png?raw=true)

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_31_2.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_31_2.png?raw=true)

### Ioannou method

Expand Down Expand Up @@ -304,9 +304,9 @@ im = ax2.pcolormesh(lon, lat, (np.sqrt(uvel**2 + vvel**2) - np.sqrt(u_ioannou**2
plt.colorbar(im, ax=ax2)
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_36_1.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_36_1.png?raw=true)

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_36_2.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_36_2.png?raw=true)

#### Comparison to Penven velocities

Expand All @@ -331,7 +331,7 @@ im = ax.pcolormesh(lon, lat, np.sqrt(u_penven**2 + v_penven**2) - np.sqrt(u_ioan
plt.colorbar(im, ax=ax)
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_38_1.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_38_1.png?raw=true)

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/alboran_sea/output_38_2.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/alboran_sea/output_38_2.png?raw=true)

28 changes: 14 additions & 14 deletions notebooks/gaussian_eddy/gaussian_eddy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plt.colorbar(im, ax=ax2)
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_6_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_6_0.png?raw=true)

```python
_, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 5))
Expand All @@ -46,7 +46,7 @@ plt.colorbar(im, ax=ax2)
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_7_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_7_0.png?raw=true)

## Geostrophic velocity

Expand All @@ -69,7 +69,7 @@ ax.quiver(X, Y, u_geos, v_geos, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_11_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_11_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -81,7 +81,7 @@ ax.vlines(R.flatten()[np.abs(azim_geos).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_12_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_12_0.png?raw=true)

### Geostrophic balance

Expand All @@ -107,7 +107,7 @@ ax2.quiver(X, Y, u_geos_est, v_geos_est, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_15_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_15_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -119,7 +119,7 @@ ax.vlines(R.flatten()[np.abs(azim_geos_est).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_16_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_16_0.png?raw=true)

```python
ge.compute_rmse(u_geos, u_geos_est), ge.compute_rmse(v_geos, v_geos_est)
Expand Down Expand Up @@ -149,7 +149,7 @@ ax.quiver(X, Y, u_cyclo, v_cyclo, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_21_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_21_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -161,7 +161,7 @@ ax.vlines(R.flatten()[np.abs(azim_cyclo).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_22_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_22_0.png?raw=true)

### Variational estimation

Expand All @@ -188,7 +188,7 @@ ax2.quiver(X, Y, u_cyclo_est, v_cyclo_est, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_25_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_25_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -200,7 +200,7 @@ ax.vlines(R.flatten()[np.abs(azim_cyclo_est).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_26_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_26_0.png?raw=true)

```python
ge.compute_rmse(u_cyclo, u_cyclo_est), ge.compute_rmse(v_cyclo, v_cyclo_est)
Expand Down Expand Up @@ -237,7 +237,7 @@ ax2.quiver(X, Y, u_cyclo_est, v_cyclo_est, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_31_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_31_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -249,7 +249,7 @@ ax.vlines(R.flatten()[np.abs(azim_cyclo_est).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_32_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_32_0.png?raw=true)

```python
ge.compute_rmse(u_cyclo, u_cyclo_est), ge.compute_rmse(v_cyclo, v_cyclo_est)
Expand Down Expand Up @@ -282,7 +282,7 @@ ax2.quiver(X, Y, u_cyclo_est, v_cyclo_est, color='k')
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_36_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_36_0.png?raw=true)

```python
ax = plt.subplot()
Expand All @@ -294,7 +294,7 @@ ax.vlines(R.flatten()[np.abs(azim_cyclo_est).flatten().argmax()],
plt.show()
```

![png](https://github.com/meom-group/jaxparrow/tree/main/notebooks/gaussian_eddy/output_37_0.png)
![png](https://github.com/meom-group/jaxparrow/blob/main/notebooks/gaussian_eddy/output_37_0.png?raw=true)

```python
ge.compute_rmse(u_cyclo, u_cyclo_est), ge.compute_rmse(v_cyclo, v_cyclo_est)
Expand Down

0 comments on commit eafc477

Please sign in to comment.