Skip to content

Negative wind speeds in windfield #1001

Open
@ddusseau

Description

I am using the STORM dataset to create windfields with the tropical cyclone package. When I explore the windfield output, I see that the magnitude portion of the velocity vector is sometimes negative. I made sure to check I was grabbing the magnitude and not the direction component of the vector. Why would there be negative wind speeds?
I have attached an example of the magnitude for one track.

tropcyc = TropCyclone.from_tracks(tracks, centroids=cent,
                                pool=pool, max_dist_inland_km=500,
                                max_dist_eye_km = 300, model="H10", store_windfields=True)
for i in tropcyc.windfields:
        if i.nnz != 0:
          test = i.toarray()
          test = test.reshape((test.shape[0], cent.size, 2))
          plt.imshow(test[:,:,0], cmap='viridis')
          plt.colorbar()
          plt.xlabel('Centroids')
          plt.ylabel('Positions')
          plt.show()

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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