magics-python icon indicating copy to clipboard operation
magics-python copied to clipboard

How to put wind field into minput?

Open NMC-DAVE opened this issue 4 years ago • 3 comments

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

NMC-DAVE avatar Aug 21 '19 16:08 NMC-DAVE