Click here to download this notebook.

[ ]:
import os

from casys import NadirData, CasysPlot, Field, GridParams, PlotParams, TextParams
from octantng.data.datehandler import DateHandler
[ ]:
os.environ["GES_TABLE_DIR"] = "/data/cvl_exj3/TABLES/DSC"

data1 = NadirData(
    source="TABLE_C_J3_B_GDRD",
    date_start=DateHandler(date="2019-07-22T00:00:00.000000000"),
    date_end=DateHandler(date="2019-07-31T00:00:00.000000000"),
    time=Field(name="time"),
    latitude=Field(name="LATITUDE"),
    longitude=Field(name="LONGITUDE"),
    orf="C_J3_GDRD",
)

data1.add_time_stat(
    name="swh_day_ts",
    field=Field(name="swh", source="IIF(FLAG_VAL.ALTI==0, SWH.ALTI,DV)", unit="m"),
    freq="day",
    stats=["mean"],
)
data1.add_time_stat(
    name="swh_pass_ts",
    field=Field(name="swh", source="IIF(FLAG_VAL.ALTI==0, SWH.ALTI,DV)", unit="m"),
    freq="pass",
    stats=["mean"],
)
data1.compute()

Sea waves height Monitoring

Daily statistics of mean SWH

[ ]:
plot_0 = CasysPlot(
    data=data1,
    data_name="swh_day_ts",
    stat="mean",
    plot_params=PlotParams(grid=GridParams(enabled=True)),
    text_params=TextParams(title="Day Mean SWH"),
)
plot_0.show()

Pass statistics of mean SWH

[ ]:
plot_0 = CasysPlot(
    data=data1,
    data_name="swh_pass_ts",
    stat="mean",
    plot_params=PlotParams(grid=GridParams(enabled=True)),
    text_params=TextParams(title="Pass Mean SWH"),
)
plot_0.show()

Another section title

Text of the other section

Another chapter title

Text of the other chapter