Skip to content

Logic issue in tutorial on spherical grids and unit conversion #2266

@sruehs

Description

@sruehs

In https://docs.oceanparcels.org/en/latest/examples/tutorial_unitconverters.html#Using-velocities-in-units-other-than-m/s I found the description on how to use unit conversion when using velocity field input in cm/s misleading. If my fields are in cm/s, I want to use
fieldset.Ucm.set_scaling_factor(0.01)
not
fieldset.Ucm.set_scaling_factor(100)
Also, for creating a velocity field in cm/s from a velocity field originally provided in m/s I would like to multiply with 100 (not 0.01). So just switching the occurences of 0.01 and 100?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issueGood for new parcels developershackathon2025Good issues for the hackathon at the Parcels anniversary event in 2025.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions