I have a geoTiff that contains the information of the wind (Magnitude, Direction) in two different bands. I display it using VectorFieldRenderer (like https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-vfrenderer/) and I do not have any problem with it, it just displays as expected. Then, If I try to display it using FlowRenderer (following https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-afrenderer/) nothing displays and no errors appear in the console.
I think that the problem comes from the source type of my raster dataset, I don't know how to transform the actual structure of two bands for magnitude-direction information to a Vector-MagDir one.
You can check out the following blog posts that talk about how you can prepare your data for visualization with the FlowRenderer:
Hope this helps!
Thank you for your answer!
Is there any way to do so using only JavaScript? In the posts you sent me they process the data using ArcGIS Pro or ArcGIS Online, I'd like to apply the multidimensional filters and the vector field function using JavaScript.