Skip to content

Extracting a single station #366

Answered by Mikejmnez
ThomasHaine asked this question in Q&A
Discussion options

You must be logged in to vote
import oceanspy as ospy
import xarray as xr
import numpy as np
from poseidon_viewer import get_shapes
import dask
import xoak

import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = 12, 8

from dask.distributed import Client
client = Client()

# data from Poseidon viewer 
p1 = [{"type":"Point","coordinates":[-42.04663256856133,52.03406883479701]}]
p2 = [{"type":"Point","coordinates":[-37.736613664969646,52.17340337402146]}]
p3 = [{"type":"Point","coordinates":[-32.2923792604328,49.891501701684035]}]
p4 = [{"type":"Point","coordinates":[-48.625082474043374,48.257101018516096]}]
p5 = [{"type":"Point","coordinates":[-40.00504466686001,47.64941029802745]}]
p6 = [{"type":"Point","coo…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@ThomasHaine
Comment options

ThomasHaine May 27, 2023
Maintainer Author

Comment options

You must be logged in to vote
1 reply
@Mikejmnez
Comment options

Answer selected by ThomasHaine
Comment options

You must be logged in to vote
2 replies
@Mikejmnez
Comment options

@ThomasHaine
Comment options

ThomasHaine Jun 14, 2023
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants