import copernicusmarine as cm
cat = cm.describe(dataset_id='cmems_obs-sl_glo_phy-ssh_my_allsat-demo-l4-duacs-0.125deg_P1D-i')
prod = cat.products[0]
ds = prod.datasets[0]
print("DATASET_ID:", ds.dataset_id)
print("DS ATTRS:", [a for a in dir(ds) if not a.startswith('_')])
v0 = ds.versions[0]
print("VERSION ATTRS:", [a for a in dir(v0) if not a.startswith('_')])
print("VERSION:", v0)
p0 = v0.parts[0]
print("PART ATTRS:", [a for a in dir(p0) if not a.startswith('_')])
print("PART:", p0)