magics-python
magics-python copied to clipboard
How to put wind field into minput?
Hi, I want to plot wind flags with data fields. But I can not find the examples which show how to put data filed into minput, just like:
data = magics.minput(
input_type = "geographical",
input_x_component_field = uwind_field, # 2D array, [nlat, nlon]
input_y_component_field = vwind_field, # 2D array, [nlat, nlon]
input_latitude_list = lat, # 1D vector
input_longitude_list = lon, # 1D vector
input_metadata = metadata)
but this is not working. Very thanks!
Dave