[Thread Prev][Thread Next][Index]

Re: replacing the variables



It works very well.  Thanks for your help
>Hi Min,
>
>You can only use constants in the arguments of "@" transformations.
>
>Try this approach
>
>	! "den0" will be zero wherever density is 0.15 less than the surface
>value
>	let den0 = density - mixed_den
>	let mixed_dep = den0[Z=@loc:0]
>
>
>If this leads you to a satisfactory solution could you please post the
>answer to ferret_users and share it with the others?
>
>	thanks - steve
>
>===========================================================================
===========
>
>Min, Dughong wrote:
>> 
>> Hello, Ferret Users;
>> It's simple question. I am trying to replace a defined variable into
>> another expression like:
>> 
>> let mixed_den = density[z=0] + 0.15
>> let mixed_dep = density[z=@loc:mixed_den]
>> 
>> The question is that i don't know how to replace the variables, mixed_den
>> with the [z=@loc:?] in the second line.  I tried it in several ways like
>> [z=@loc:mixed_den], z=@loc:`mixed_depth`],  or [z=@loc:"mixed_depth"].
>>  All thing that i had tried showed the error messages up. Please help me !
>> 
>> Thans for your help in advance.
>> 
>> Duke Min
>
>-- 
>Steve Hankin
>NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
>ph. (206) 526-6080 -- FAX (206) 526-6744
>
>


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement