grid_stat not reading polygon #2895
-
Hello I am trying to run grid_stat for a group files like the two attached below. I tried using the polygon to produced a masked region using gen_vx_mask obs.nc -type poly polygons/north.poly masked_region.nc but for some reason grid_stat does not seem to be able to. Then I tried passing the masked region using the nc file generated by gen_vx_max but that did not work either. I am not sure what am I doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I just uploaded the data files with the google form https://docs.google.com/forms/d/e/1FAIpQLSd_DFPopkOCX1NDrIFf1kKjkwdvrrIvUQOgNJ1-5T2Y8E67Zw/viewform |
Beta Was this translation helpful? Give feedback.
-
Hi @carlos9917, thanks for sending along your sample data. You are, in fact, the first user to provide data to us through that new Google Form. Seems like it worked well! Although with small files like this, another option is tar/zipping them and attaching them directly to the discussion. For example, if you have all the files to send in a directory named
And then attach that On to the issue at hand... First, I did run Gen-Vx-Mask on the data you sent, but noticed that the NORTH mask DOES NOT actually overlap with your evaluation domain. You can see that in the
The result is a constant field of 0's. Next I compared the projection info from the obs file to the north.poly lat/lon values:
Looking at the range of lat/lon values, I'm wondering if you've listed the
![]() As for how to reference the Gen-Vx-Mask output in the Grid-Stat config file, I see you're using:
Please just list the path to the Gen-Vx-Mask output file in the
Although, either Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your help! Now it works :-). |
Beta Was this translation helpful? Give feedback.
Hi @carlos9917, thanks for sending along your sample data. You are, in fact, the first user to provide data to us through that new Google Form. Seems like it worked well! Although with small files like this, another option is tar/zipping them and attaching them directly to the discussion.
For example, if you have all the files to send in a directory named
for_2895
, you'd run:And then attach that
for_2895.tgz
file directly onto this discussion. For "small" files, either way is fine.On to the issue at hand...
First, I did run Gen-Vx-Mask on the data you sent, but noticed that the NORTH mask DOES NOT actually overlap with your evaluation domain. You can see…