Closed mpiannucci closed 2 years ago
@mpiannucci
Issue seems to be with ncwms/pyxms. The data we get is being plotted as expected. It looks like we're getting the incorrect values back from the GetTimeseries request.
The WMS arrows are pointing straight up, which should be ~0 degrees. But we're getting back 179.25 from the timeseries request.
Looks like OM1 has this issue as well.
That is super interesting... might have to do with specifying the wind being from or to
This is a ncwms issue, pyxms just passes along GetTimeseries
requests to ncwms
This is also happening in the validation tool. Where did we leave this issue?
All three of these values are different looking haha
Also... this doesnt even match?????
After checking.... this is an issue for the wave layers only because those have the "From" convention, the currents and wind layers work ok because they use the To convention
NECOFS has the same issue
I am pretty sure that OM 1 gets around this by making scatter plots for degrees_true units?
We can prob check if the units are degree_true and flip the plot somehow, but the values then wouldnt look right. Do highcharts arrows have configuration for From or To for direction?
So from what I can tell, Vector layers in NCWMS always come back as degrees, To and the stations are sometimes degrees from, and scalar direction layers are usually degrees true. Does degrees true mean From?
This is related to #512 and #513.
So from what I can tell, Vector layers in NCWMS always come back as degrees, To and the stations are sometimes degrees from, and scalar direction layers are usually degrees true. Does degrees true mean From?
@mpiannucci Anything reporting wind as "degrees to" is probably wrong, since the convention is always "degrees from" - that's what NWS and NOAA use, and the GRIB file format also specifies it. "True" should just mean true north as opposed to magnetic north.
GRIB ref: https://www.cpc.ncep.noaa.gov/products/wesley/opn_gribtable.html https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_table4-2-0-2.shtml
In RUWRF for example - the NC variables are coming straight from GRIB params, so no reason to believe NC is storing it as "degrees to": https://tds.maracoos.org/thredds/dodsC/Rutgers_WRF_3km.nc/Rutgers_WRF_3km-2022072600.html
So I would say this is just an NCWMS problem, but EDS is also giving us "degrees to" in GetTimeseries. I checked NAM and NOGAPS from the maracoos catalog, and saw the same problem - WMS barbs are correct, but the timeseries / validation data is flipped.
EDS layer:
A few more things I found:
http://20.85.242.58/?permalink=N4IgtghgDgQjD2APEAuUB9Azgd1aANgHYDmqAtAOwUB0AnAMy0AcTFATAGwCMADB7QF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