[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #NJK-709837]: IDV function for land/sea topo scaling

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #NJK-709837]: IDV function for land/sea topo scaling
  • Date: Fri, 05 Mar 2010 14:54:48 -0700

> Jeff,
> I seem to remember you saying to pass new function ideas along, so here 
> goes...
> 
> I often want to load in DEM data (land topo/sea bathy) for visualizing
> along with ocean modeling applications in IDV, but I want to provide a
> different vertical exaggeration for the land and ocean topography,
> because I want to clearly show the coastal ocean topography, but
> without the land topography looking like skyscrapers.   For example,
> I'd like to scale the depths below 0 by a different factor than the
> elevations above 0.    I imagine this is pretty simple, but still
> don't know how.
>

Hi Rich,
Just make a formula called scale, e.g., to scale by 2:

     fieldYouWantToScale*2

That should work.

-Jeff





Ticket Details
===================
Ticket ID: NJK-709837
Department: Support IDV
Priority: Normal
Status: Closed