[Thread Prev][Thread Next][Index]
Re: [ferret_users] add (degenerate) axis to variable
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] add (degenerate) axis to variable
- From: Ansley Manke <a.c.manke@xxxxxxxxx>
- Date: Wed, 31 Mar 2021 17:59:43 -0700
- Arc-authentication-results: i=4; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p2F/nCjq"; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.199 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=3; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p2F/nCjq"; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.199 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p2F/nCjq"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=softfail (google.com: domain of transitioning a.c.manke@xxxxxxxxx does not designate 65.153.203.171 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="p2F/nCjq"; spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
- Arc-message-signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :message-id:content-language:in-reply-to:mime-version:user-agent :date:references:to:subject:from:sender:dkim-signature; bh=1hgzBbhxKZ4saWYVLKfg0jw6kJszIghxa8Cn3iM/8zU=; b=B5lBOhD7RZO14Z5L5gbEwK7u5VsioeLoCB8c7G4GKd7NYSZHeNblAwLNWejXG9Wa6Q fM8INBH4xuSboBelRzIHzr+C3y2w9/3dfVXC+4jgTO1jhkmufTIgAvgHw2bzH0w47jXE uxkVamREUJUf4tosxDXegZnkuFDwVP5GRLB679FLGRfi0Iaby8B10msHbuD1QKyhLU30 eMbmEePVMbr8mDScPBD4OqVU1LBaIFnFe6KWs9QHuSrz4GmSsidZuhN4UIlGVv5guUV1 jgWVYxkiT44Uj4PK18gY9TnqdtBPjPT6n1FHdZdSIpEbVZgreZPK5uyattHYzEyQWw8j BO3w==
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:content-language:in-reply-to:mime-version:user-agent :date:references:to:subject:from:dkim-signature; bh=1hgzBbhxKZ4saWYVLKfg0jw6kJszIghxa8Cn3iM/8zU=; b=CQLH70b+1AFv2vV26iqS+ABJfBc/VgmBV6LzQ9ndhBx91BanDlAi9gQyfab3WVkOoM 5Gna33wZMqXmNwmRPmWt5MnU5Mj57Sz2yMF0bSfaw8u0siTI93NGrOekEHGDLh1a8b4B 1Qj157O5NnzF0dhwpgAZaHL65TFZdtUkHOzC+3vtnm3zoz2uYbFsVPgocBFq+rJYrve4 n/VfFWf43wCATFhNKYHrw5J7YmUnEQLuLnL+FqU/kjU9al4DaZIU96daM6Oa1kvZ85+c GLXCBbIvAhT5y4QIHMplyfbnFVAAhw4NsBu5jyrgXjzTpJB8dhVKoamjFHo7ITEfUyxL E5uA==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:references:to:subject:from:dkim-signature; bh=1hgzBbhxKZ4saWYVLKfg0jw6kJszIghxa8Cn3iM/8zU=; b=rQTZSAt1vIXf3OVR0MPzanbjjvWEK6mG9yjuuZp0R51D/o2tqdi1z9p2i38C6n4d5b x2Fj4nvEGXc3Z9qQhfWAiekHLUi8K3VTd3LEx6GjtvAydO9XN89MTB+bZScU627KJ/a9 3r0msGtTVOfnkaYdLwr721M0lKLXr5WfAzolfBrSj5D+pgUZvXxtvZK5neYnJGh0CVF6 LE3WNZpIFT1cViJ/TvM3eUiWVKIWJf8fd9cehdmCG1DxucCSZGXYn49K7mU5+IoXI/oL okDprFHX6XBXdDyOFLOu1/MeMvCX2AGGinVlVHcReRghkFCClG9ty1Zu61jEi/iRtqm/ yLSg==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:references:to:subject:from:dkim-signature; bh=1hgzBbhxKZ4saWYVLKfg0jw6kJszIghxa8Cn3iM/8zU=; b=Jano6XdfcpbVO1+9cegrdETveFjw/N/miyPSSax+sqyWKBhKlVvQ9SDv0EhwYCdfuj sCa1H1DTA3Xz9oTHYzbZloYS/UhMsRcS/k6eiT4LkhsqhCOi8zJfp4hKaV4xxGkLMvVx DKiibsWlwDsFNlgqqOD42MmiCaVuCkO50400WBet5pz7LHlKUiYWyK5rOsm3YbsRqtzn qmL74XgcW7AicMKSmpjsK7qy0/Q8A96UofwB+Ji9DeSHW6RgU+zSrUlzBkcX7+H2IC5f IE9GNCopIzPC/6tXSJdeglZ01fWHcEL9qUWXwdjtDBawNy2XQTInHTiVKGPKQNynuWcn oyeA==
- Arc-seal: i=4; a=rsa-sha256; t=1617238789; cv=pass; d=google.com; s=arc-20160816; b=vgK9L2juRSbpoR/GmpLtYGP74ImN0iBzW+VYOFlObeVf445ZwdWxs1MgrX8OMYnye+ Bb5M8kCYLhm/+cpJg1Rm5w0SEqoKR1x5QkeimY3i27jwohiE/+Ssj15uDt1ZXDduqtJN Z1/yCgliZrvf9dm2jjyR8KUjK5+s56jSoqPAjL/K6ietgThO7PAi/zZ8TeNRGBOTCIXJ TByakFut8K5Sp3daAavSuLNB5y5bYbNwx8t4Fx0tIW4rO7rB7L8ya2mpr+lzHqbdjIX3 Fju5lonc6navjTPmxHXWiMr+ViH1CW703Sh6lg9pAqFTBlkjRj+4TRj80Svd4/7O/lGp 3Cng==
- Arc-seal: i=3; a=rsa-sha256; t=1617238788; cv=pass; d=google.com; s=arc-20160816; b=ZlWI1CL9hTvwEmcOjIS4zGZUM1FxBOa9LtrMsCxSQqN89tjAlleI3xAMoYHY9BA8Go HN9UzN3x71xoaDZDHOBN8reHOxoJaVytAB60XTSZJ9oXujIMFZvIZlOoccnJfzlxDGXn EhzzrUA5iwDAkcLn52ei59KajLr7kb6w2R3ZpfKMKn76t3ZGuamIHvXr4VhH0Sa92xyU 9DUHLmXmDaaJoeaHfe0ROTQpdv1PB9hiTmCjNJJIvPIcvUfNx8kXwj+V7Pb046u2rtjo m+SLCkwGyGabhnxHtZkznkNng8kmCOebNfHEAhJ8WI5irjUjsbHnSnuJ8G8tOFxn3lQt gkkg==
- Arc-seal: i=2; a=rsa-sha256; t=1617238786; cv=pass; d=google.com; s=arc-20160816; b=RJETBth/ySLdiw5+BmVbOccpkPLfQicnbn38OVWoy0/010BtaFB3yzEiUMgNs2ahbh w2IW/XsAXqSSIPZHiequ55u/YbVcBIzqF3crihD9rSy8mbGIIQHIO8GKsHa8lVqMpygb 0dhKX8PluSaLyEX1+rCG8FltG86ebRMkVUO7ifOs3D9c731EnuS0ofn4Dk1AtsIQq54K qtEvoIDpCNqrWwSm1NeetWyNC2l02mPRftec0L+L8IQjnsNt6CzpPlubRi7wt9cusoSy 7YqcOD7V3k/DUYdHWG1JJPBUMCgRPMkP3lZQtsMqyPuBDB97ue0E8GjP8+wuWFt1jMRQ mA9w==
- Arc-seal: i=1; a=rsa-sha256; t=1617238785; cv=none; d=google.com; s=arc-20160816; b=QNJABXaEd+6qBy0vqOUKDCE79CsTQLdzISNTUb7dkXk3Jq1dOiV81ymwKLpKVG9vOR 8pyOMlLCMfAm6oddN5WLmxdxR6YcesOPjpBkIOvADrLMdpZwekVOxbHuGiZNFH+VAcgL 70SDEmmR5QyRHQTDYFetGT66gLiNgGB2vLRyvqX1B+Pwd9Xqb+VC8WfAergYX2AoETWO rtwC1cJEWEcopcrcRTMRJOYbOTZENGd9meXyC7mr1a/fwlLOzBHQ6WfH9hHSiaOOVonn +gen+HBoI7AFdnba6B7w3+fwOtEtjaqU/gBwCuHkOcpy0ghB+TXhjYELEQu4byebVBlc KOAw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:from:subject:to:references:date:user-agent:mime-version :in-reply-to:content-language:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=1hgzBbhxKZ4saWYVLKfg0jw6kJszIghxa8Cn3iM/8zU=; b=NaYcX/SLcGiRWiE/zOAcNnsEc3cJ79ug69r0M56R9XJNP1G5TmM56KWcePrP2qelgB N9MiImmMDEVwkEULMLthnsr4shZshMRWeY+xSOkrz/EXGrpMZVjMRXUEWg8lDhOlkQC6 7J9Qd+nmdmQR+EfyQ2r+SHI9YFFt+7wOyGfXTtQTagJJgKvH213v/4m1jMYx54SJabAL 6Qzb8lbTwJPRtQ/u12PqdFOAB5Mx+5Fh+lp5X5cweQUj7qkh6iNtlxeMbWl2ahTHGpLY p9TJ62osV2MqqW5ScRVXvcM1WQzC5u2eVfHUKJ83HirZ+TbPpxO+y9yALWkGBPMajf+U eUqg==
- In-reply-to: <4161f294-b638-f9f0-35c7-3a98c42aef90@noaa.gov>
- List-archive: <https://groups.google.com/a/noaa.gov/group/ferret_users/>
- List-help: <https://support.google.com/a/noaa.gov/bin/topic.py?topic=25838>, <mailto:ferret_users+help@noaa.gov>
- List-id: <ferret_users.noaa.gov>
- List-post: <https://groups.google.com/a/noaa.gov/group/ferret_users/post>, <mailto:ferret_users@noaa.gov>
- Mailing-list: list ferret_users@xxxxxxxx; contact ferret_users+owners@xxxxxxxx
- References: <e69bb74e-173e-00eb-f4d5-01f11ec08cdd@noaa.gov> <CALC=m4q5jQPE6zfTKf_1bnQ6oEJbP88-Oew1qMmeYTBDP=_djw@mail.gmail.com> <4161f294-b638-f9f0-35c7-3a98c42aef90@noaa.gov>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
Hi Andy,
You can add a variable on the desired time axis with a value of 0
everywhere. This uses the idea of "conformability"
- the principals that govern how variables created from on unlike
grids can be combined.
so,
yes? let/like=temp temp_new = temp + 0*t[gt=t1]
Ansley
On 3/31/2021 10:35 AM, Andy Jacobson
wrote:
Yes, I
tried [...gt=t1@asn] syntax. Ferret didn't complain, but it didn't
output that time axis either.
Thanks,
Andy
On 3/31/21 10:44 AM, Satyesh Ghetiya wrote:
Have you tried giving that time axis to
variable by GT ? -->
let your variable is Temp and time axis name is T1, then -->
let Temp_new=Temp[gt=T1]
^ This should work.
On Wed, Mar 31, 2021 at 10:04 PM Andy Jacobson <andy.jacobson@xxxxxxxx
<mailto:andy.jacobson@xxxxxxxx>>
wrote:
Howdy,
I have a 2-d variable (lat, lon) that I read from a
well-formatted netCDF file. This represents one month out of a
time series of many such files. I'd like to add a time axis to
this variable. I've defined my single-point time axis, but I
can't figure out how to convince ferret to add this time axis to
my variable. Normally I'd do this in NCO but I'd like to stay in
ferret this time. Is there some reshape trickery involved?
Thanks,
Andy
-- Andy Jacobson
andy.jacobson@xxxxxxxx
<mailto:andy.jacobson@xxxxxxxx>
NOAA Global Monitoring Laboratory
325 Broadway R/GMD1
Boulder, Colorado 80305
303/497-4916
G Satyesh,
India
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement