[gradsusr] Regridding/Replace Value Question
Stephen McMillan
smcmillan at planalytics.com
Mon Jun 14 23:41:14 EDT 2010
Andy,
Yes, I understood your original question...using re() or similar process.
The example steps listed in the 'set defval...' documentation will work with
regridded fields as with others. Of course, you will need to display the
defined regridded variable to set the scaling environment, in order to use
the various query commands such as 'q xy2gr' (returns grid coords) and 'q
xy2w' (returns lon-lat coordinates) in conjunction with the 'q pos'
command. Use 'q defval...' to get the value at a grid, and 'set defval...'
to change the value. Refer to Documentation Index for correct syntax and
some examples.
Stephen McMillan
On Fri, Jun 11, 2010 at 6:27 PM, Andrew Revering <andy at f5data.com> wrote:
> This is perfect -- EXCEPT -- that what I'm doing is actually using GrADS
> (or maybe its OpenGrads, I'm not sure) to regrid the data into a new netCDF
> file. I'm not using GrADS itself for display until after I've combined
> several NetCDFs into one large NetCDF file. The point of this is so that I
> can properly overlay data at the same points (radar data..overlaying
> overlapping radar sites).
>
>
>
> … so right now I'm looking at the data and choosing which value to use at a
> specific coordinate given multiple radar sites, but I don't know that I can
> identify what the coordinate is of the data point I'm looking at using re().
> Maybe I'm just not using it properly.
>
>
>
> What I want to do is know the actual coordinate so I can identify how far
> away it is from the radar site, and then with that information decide if I
> want to identify the return for that point as ground clutter and set its
> value to 0.
>
>
>
> So in short…. I need something like defval, but I need to be able to do it
> during the regridding process, not involving the display in GrADS. I want to
> do it before I write out the final NetCDF.
>
>
>
> Thoughts?
>
>
>
>
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Stephen McMillan
> *Sent:* Friday, June 11, 2010 7:00 AM
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] Regridding/Replace Value Question
>
>
>
> Andy,
>
> Check out the 'set defval...' command in the documentation index:
> http://www.iges.org/grads/gadoc/gradcomdsetdefval.html
>
> I believe it will do what you want.
>
>
>
> Stephen McMillan
>
> On Thu, Jun 10, 2010 at 10:33 PM, Andrew Revering <andy at f5data.com> wrote:
>
> Is there a way to replace a grid value during the regridding process using
> 're()' or similar function?
>
>
>
> I need to be able to return a specific coordinate (latitude/longitude) for
> the point we're regridding, along with it's value and then be able to change
> the value at that point.
>
>
>
> Andy
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> ***************************************************
>
> The information contained in this e-mail message
>
> is intended only for the use of the recipient(s)
>
> named above and may contain information that is
>
> privileged, confidential, and/or proprietary.
>
> If you are not the intended recipient, you may not
>
> review, copy or distribute this message. If you have
>
> received this communication in error, please notify
>
> the sender immediately by e-mail, and delete the original message.
>
> ***************************************************
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100614/8bafae5a/attachment-0003.html
More information about the gradsusr
mailing list