Vector Help
Posted: Mon Jul 09, 2018 3:49 am
Hoping someone will read this and be able to give an answer.
To subtract a vector B from Vector A:
You can take the neg of Vect B and then add the -B to A?!
According to my memory of vectors the above reasoning is correct. If this is indeed true AND if DA allows the addition of Vectors with SSUM then:
ERASE
ANALYZE,stor=2 smlc=1:-1 stor=1 wind hsfc
analyze,stor=3 wind h500
analyze,bknt color=200:0:0 stor=4 ssum=2:3
STAMP
I initially check the first analyze script line and it did print out the negative vector, so I know that part works. I checked it against the "normal" wind barb. The resulting barbs for this shear are close to the spc meso page for zero to 6 bulk shear. If anyone with more knowledge than I could send a response I would appreciate it immensely. BTW I originally asked TIM if SDIF would work with vectors but I have not rec. a response yet.
Thanks,
P19
To subtract a vector B from Vector A:
You can take the neg of Vect B and then add the -B to A?!
According to my memory of vectors the above reasoning is correct. If this is indeed true AND if DA allows the addition of Vectors with SSUM then:
ERASE
ANALYZE,stor=2 smlc=1:-1 stor=1 wind hsfc
analyze,stor=3 wind h500
analyze,bknt color=200:0:0 stor=4 ssum=2:3
STAMP
I initially check the first analyze script line and it did print out the negative vector, so I know that part works. I checked it against the "normal" wind barb. The resulting barbs for this shear are close to the spc meso page for zero to 6 bulk shear. If anyone with more knowledge than I could send a response I would appreciate it immensely. BTW I originally asked TIM if SDIF would work with vectors but I have not rec. a response yet.
Thanks,
P19