Skip to content

Fix UV #80

Open
Open
@gauteh

Description

@gauteh

def UV(DD,FF,met=False):
    '''
    #requires testing
    DD is the heading direction of the wind
    to get met. standart, call UV(DD,FF,met=True)
    '''
    u = FF * sp.sin(DDsp.pi/180)
    v = FF * sp.cos(DD
sp.pi/180)
    if met==True:
        u,v=-u,-v
    return u,v

DD is the direction and FF is speed

fix by Victor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions