-
Notifications
You must be signed in to change notification settings - Fork 179
Confirm Units of Knots for NIDS Base Velocity Data #674
Comments
I can confirm (from what I've done in MetPy) that products 93, 99, 154, 182 have velocity in meters per second. From the NEXRAD product interface control document:
I have a similar document for 182 (specific to TDWR). Unless some conversion is taking place somewhere in the code (no idea), meters per second is correct. |
Thanks, Ryan, for the rapid response. For posterity's sake the document you refer to is the Common Operations and Development Environment (CODE) for the WSR-88D Open RPG (pdf) -- there's a mouthful. |
Actually, the documents I'm referring to are:
These are the canonical documents describing every byte in every product generated for NEXRAD (or TDWR for NWS). |
Alrighty, thanks. Out of curiosity, how come these documents are not on the web anywhere except committed to the thredds repo? |
You just have to have experience knowing where to look, such as writing code to decode NEXRAD stuff in 3 languages. 😁 What you want to google for is "ROC ICD" (Radar Operations Center Interface Control Document) which returns for the first hit: http://www.roc.noaa.gov/wsr88d/BuildInfo/Files.aspx The TDWR is trickier, but googling "ROC SPG" (SPG = supplemental product generator, used for TDWR radars) gives you this first hit with some relevant documents: None of this is in the thredds repo as far as I can tell, which is a good thing IMO--the ICDs are updated with almost every major release of the ROC's radar software. |
There is something amiss here that may not be related to units. Here is the metpy rendering of these data after they have been converted to knots (e.g., See here for the code to generate this image. and here is the same plot with the IDV with the same color table: Here are the IDV bundles to generate this images The images and data seem to be in agreement in the middle of the data range (~40 knots), but out of whack on the low end (e.g., < 20 knots). Maybe @dopplershift and @yuanho can sort this out after Thanksgiving break. |
Hi Juilen The metpy plot is odd in that the velocities are all positive, whereas Mike On 11/23/16 14:03, Julien Chastang wrote:
|
I think all of the data in the SW quadrant - which is probably negative
- is being plotted as 0 m/s.
Try using a color scale that goes from -50 to +50.
Mike
…On 11/23/16 15:51, Sean Arms wrote:
For fun, here is what PyArt does ().
pyart
<https://cloud.githubusercontent.com/assets/67096/20581114/f8d3d008-b193-11e6-8e27-9cd580e87069.png>
Sorry the colorbar is different (and |jet| to boot...). This was my
first time using PyArt, but super easy to generate. Note that the
|pyart.io.read_nexrad_level3| code is independent of netCDF-Java and
MetPy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#674 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGbh_62yeXyXLNLtLnZKOKPQX-znku1bks5rBMOGgaJpZM4Kr3Ve>.
|
Here is pyart with +/- 50. @mike-dixon 👍 |
File (had to add .txt to upload to github) |
@julienchastang While # Pull the data out of the file object
datadict = f.sym_block[0][0]
# Turn into a floating point masked array using map_data
data = ma.array(f.map_data(datadict['data']))
# Convert from m/s to knots
data *= 1.94384 @mike-dixon As far as +/- nyquist is concerned, that's not quite correct here because we're dealing with a NEXRAD velocity product here, not raw data, so automated velocity dealiasing has been applied. |
@lesserwhirls Note, zipping works too :) |
Sean - that looks correct - or at least plausible - Mike
…On 11/23/16 16:15, Sean Arms wrote:
New IDV screenshot, +/- 50
py_art_full
<https://cloud.githubusercontent.com/assets/67096/20581717/08c3f32c-b198-11e6-8541-22789042520a.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#674 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGbh_5WZMH7TSngu9Uf9KwEo7RUv7jNHks5rBMkcgaJpZM4Kr3Ve>.
|
So if I correct the scaling as above and change to the And here's one in knots in the IDV colormap with the range from 0 to 80: IMO, the original IDV plot is incorrect. (See Unidata/MetPy#49 for an existing note that we need to improve MetPy's NEXRAD API to make it easy to get this decoding right.) |
Ryan - if in IDV you use a color scale that goes from -50 to +50, that
plot will probably also be OK - Mike
…On 11/23/16 17:05, Ryan May wrote:
So if I correct the scaling as above and change to the |'RdYlGn_r'|
colormap to match pyart, here's what I get when I plot data in |m/s|,
from -50 to 50:
metpy-nids-ms
<https://cloud.githubusercontent.com/assets/221526/20582455/84434a88-b19e-11e6-9e2a-170dc4d49b5d.png>
And here's one in knots in the IDV colormap with the range from 0 to 80:
metpy-nids-idv
<https://cloud.githubusercontent.com/assets/221526/20582511/fd020504-b19e-11e6-982b-54f902fb5182.png>
IMO, the original IDV plot is incorrect.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#674 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGbh_zWk1MgAhPBT2Rn9QeTwnpOk0lqmks5rBNTSgaJpZM4Kr3Ve>.
|
This patch: cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java b/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
index 6205681..23267ab 100644
--- a/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
+++ b/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java
@@ -2519,7 +2519,7 @@ class Nidsheader{
ctilt = pname_lookup(99, pLevel);
ctitle = "HighResolution: Base Velocity";
- cunit = "KT";
+ cunit = "m/s";
cname = "BaseVelocityDV";
summary = ctilt + " is a radial image of base velocity field and its range 124 nm"; yields (after you convert from m/s to knots in the IDV) which is the same as Ryan's latest figure. Here it is again w/ state boundaries: BTW, although the IDV user does not mention it, this is Hurricane Isaac. Can these data be additionally corroborated against what we know about the storm track on Aug 30 at 1134Z (time gleaned from the file name, I assume in UTC)? 75 mph seems high to me at that point and time in the storm. Happy Thanksgiving everyone! |
I think those values are fine given that:
|
To further corroborate those points, examine the following figure where I incorporated the Hurricane Isaac storm track, radar range rings, and distance tools. (The That purple area of maximum wind intensity is at 150KM from the radar site. A bit of trig (taking into the 0.5 deg angle and curvature of earth) will show this is ~3KM (~700mb) in the atmosphere. That area is also at ~175KM from the storm center on the "dirty side" of the hurricane. Therefore winds of 60 knots seem very plausible, and indeed likely. All in all, this has been a very interesting case study. I'll be sending the PR shortly. |
According to a recent e-support (
ticketid
27672
) there is ambiguity on whether the NIDS data, base velocity field is in knots or meters per second. @yuanho Can we have a confirmation of the units of knots for the NIDS data base velocity field in 65eda31? (We have the usual problem of knots versus meters per second being only a factor of 2 off from each other.) According to @mike-dixon, the data are probably in meters per second. I have yet to find any NEXRAD documentation that details anything about units pertaining to NIDS data.The text was updated successfully, but these errors were encountered: