[Thread Prev][Thread Next][Index]
Re: [ferret_users] Re: bin data files in ferret
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] Re: bin data files in ferret
- From: "ESTANISLAO GAVILAN PASCUAL-AHU" <e.gavilan@xxxxxxxxxx>
- Date: Tue, 26 Nov 2019 17:32:21 +0800 (GMT+08:00)
- Arc-authentication-results: i=3; mx.google.com; arc=pass (i=2); spf=softfail (google.com: domain of transitioning e.gavilan@xxxxxxxxxx does not designate 52.222.5.176 as permitted sender) smtp.mailfrom=e.gavilan@xxxxxxxxxx
- Arc-authentication-results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=hhu.edu.cn); spf=softfail (google.com: domain of transitioning e.gavilan@xxxxxxxxxx does not designate 65.153.203.168 as permitted sender) smtp.mailfrom=e.gavilan@xxxxxxxxxx
- Arc-authentication-results: i=1; mx.google.com; spf=pass (google.com: domain of e.gavilan@xxxxxxxxxx designates 202.119.112.48 as permitted sender) smtp.mailfrom=e.gavilan@xxxxxxxxxx
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:content-transfer-encoding:mime-version:subject :references:in-reply-to:to:from:date; bh=MaeVWZlumu28/yZ0M3eI/gCphS0fo5RDInxoat/NQbk=; b=wbMXrXGXl4T0Hv0dvGd8ZySiJDmxfHlz3SuQQOc54QLG9thR7puLeF6bqh2w7ztDCf Uwcjtr1RM+lG8xs6j07dOQjTu67TlSgck2n+0oV6tkqJBy2Th0LdXxc7tQTiOxm4Bgw8 g5W9w3SwFtzVOQCxwARjX5E5U0uflBUPdDAvb5jCNQtzn3ao8T3j0VLuBNxMvo6Coivk 9rIcP6ZwixJ1AA/0Gwh+pge8pFliWV/rdueAiRQJWCsvXw1754P7uB7VUmNixEQic8aE gXpVxAtM9NuKzPZCuLLOAY3cEb9laXCaKpCaNSyqx1WpzkocVRXWQV/uRW608R6PVocw kysg==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:to:from:date; bh=MaeVWZlumu28/yZ0M3eI/gCphS0fo5RDInxoat/NQbk=; b=oDdziUyi3AI60K/QY8xVSePghCnOORCwHFxJ8FE6O2s9wqddmneGk7Vyqs3o99nnQB 43jyRgkbSdmZt+dio6awk6ZA09n8Tnk46qAqRi3to2QZSqleO3pOPjfLqP6IRhwX0fyD 8b4BzOkcGTwaRXo1wEusIpBSGo345X+hXEkK9krTYcPOp9foW56w6nNHcF9xzu1fBl17 KHTa8OoWM4Hde2aYe5beUtsLFJX9kjj4cFJw9T9Y9bgfQMmQV/Ni27x+j/fO04IkzaHP 2iq6x9ccSlwk0P/pjYiLIvYqT1VAZMUerpAZJX5A/wiTeEyN+sD6KWBSTUfJIjytcEA5 BMWQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:to:from:date; bh=MaeVWZlumu28/yZ0M3eI/gCphS0fo5RDInxoat/NQbk=; b=J5SPyxyKWk2DxE1jm078HWgeXTS779JgTd8v6UrZwwLCcdTVfRWH9vOoom2cA6b119 f34H4pmSvJyq5hFFoT2lf3n/7G1NLt2r4Jf5SYWX6YJWB544VUxcVf0YntOvbZLTIPCC 86bY+JVZYtHeapczAqcNuq/kdfvXjzTD+0/dAvAT6xDHPmFKvXIfcOTAnkDtJp+cHVjJ mMU9VswRnzyTCfsX8OF0psZBio51D9M5keuAGLr1/YqjOnjSXlpm7Ji4XFFwluZ0FVi3 FsEIo5vRqkS2vxbpmVYYOtX4A3oVfK5azHwH2jglYSXWl99Azy8d/60xjQZSeNyPDsiB UPmA==
- Arc-seal: i=3; a=rsa-sha256; t=1574760752; cv=pass; d=google.com; s=arc-20160816; b=BCt3v4W3udIV46gnBLVSc4BD236rOSs7WbsfrUcyfoBm0f7aV+1/l+pXpqe4AZXGFm bEKw3PB2GCO8JErXx3NGMcskO3+fkp2G5SLZX48mHc0oneXncon0uyyAhamm5loVXeXc qB4nBHv4f87ch+gUy40K+eBUzCVtlrdnhduEost3Su6ZLafddrzPVrJU8ZAiq7XMB+Bt HEpP2Aa0psA8qJphHFmNLbu8AYky0H6MgBBYGFuKG+iOjLlkXJPMm96IvwLZl8FxjYFl LPJOYt91BjKcTqEtIXnMC0PAq8DeUoRriEfe6xlCxByAwBzRR3edS4P5eZa7d+9ofTxv 6POg==
- Arc-seal: i=2; a=rsa-sha256; t=1574760745; cv=pass; d=google.com; s=arc-20160816; b=OyI6Ssrq+tm6m2cvFWvqUWL/iqdmbvSVnF4xEIJE3AgAhj1ah8GzzmzhKe2PBfD1PQ yhoejQYvpn3PzEXTeqgl3AdZeqas/82xtFCLtvEF3Pr63kqrR8IqMmU3bUAfSq17+5ce cqBxAcFvLW86OOC89mYyR9VydCkipGj0oc3MRMagwBDsFN0M6VqUFMZJquAbiFhu5zy3 oz3+uhCU5eIdEgvUck4uNoO5T83clAV63xflvg78eBxg85ybSz7wt32q9od8iVF6kpz1 iz2//RbbvJooO5LKSb+1WxMDjlEsQWXgcXo2UnUrSg673wAFeqR5gmjwq/TgWfkwVdBB w+gA==
- Arc-seal: i=1; a=rsa-sha256; t=1574760743; cv=none; d=google.com; s=arc-20160816; b=IpA8BZFETZOQP6FS7KZX2Yw6FcbdOxAe2SN7QS6H1aQHun00aDKQdOc6WLfzu2yquv 4GF2KCqBh7l1TIHSvo82/AfCvCHvaGAGXXfhoUVvvhoksPac4He1V8WskVZWrEBICo5f lrT35x9rYlEICB2P+cQkvyZJHBZtc85DL/7BqwE44VXVQ8c+0a55I7haIjeqx2VEYKVl uysW33EmpscNy2zdIFcvi1u6swE8/U9pK8ehI5OGikC3ipja+SYZyfeh5rSVgwHuwmUx 6WKZOS1B3P781zYIxnzpxC96Epwh+N37qPhk0BNi7RCbsGu9SkL5fgkdwk7wbN8V9l24 IJnQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:date:from:to:in-reply-to:references:subject:mime-version :content-transfer-encoding:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=MaeVWZlumu28/yZ0M3eI/gCphS0fo5RDInxoat/NQbk=; b=Qb1tLjZrV9l6Gr0iXQqfXp1HmDbVeO27aZu5yA4R7j92WWovSeFE1H+cciRSexoLqd 9+uZ5c8/CdTDU6l1oX6zhF/ZJky9eCcGZ+Aau69nSG8HnVk2D/ZkXQmh/zGvpoKnfVEH aA5bLoWn6eSBA//Xuym1SWq6IuwwdtdMjdbB/IRZsyqbrH0SOmR3bd07yPdVEWettDl8 rLuJ5y+Gfq6qNFUiv1L4Lh4r0vRlnWR6Epdsi4bPacEcq87XRbf9FRkCCrXRT2o1Zc4F ek4ozxZygtwt4VQxXC62yugl3psOhQSHRTvE1DCRzFIBc7og+4mDXxYrIdUX1g54EVgV 4iPw==
- In-reply-to: <e9e65677-c59e-e44b-e654-105c89c6cc01@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: <1f517425.11485.16e3ab2c2e2.Coremail.e.gavilan@hhu.edu.cn> <e9e65677-c59e-e44b-e654-105c89c6cc01@noaa.gov>
- Sender: owner-ferret_users@xxxxxxxx
Hi community,
Sorry, I did not reply before. I tried to use the E- aggregation but it did not work because it requires the type of the file and I am not sure how to set that in the script. Currently, I was trying load the file with a loop following this script but I having an error which I am not sure how to solve. This is the script
define axis/X=1:3060:1: xc
define axis/Y=1:510:1 yc
define grid/X=xc/Y=yc ecco
set region/x=1021:1530
use time_iterr.nc ! this is a file with the different nsteps
let Lend=`time_mo,return=lsize`
repeat/L=1:`Lend`:1 \
(file/var=ssh/grid=ecco/format=stream/type=r4/swap ETAN.000000`time_mo`.data)
If I do this it says "variable unknown or not in dataset: time_mo". Interestingly, if I remove the "." of data, it works but obviously ferret cannot find the file.
Kind regards,
Estanis
>-----Original Messages-----
> From: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>
> Sent Time: Wednesday, November 6, 2019
> To: ferret_users@xxxxxxxx
> Cc:
> Subject: [ferret_users] Re: bin data files in ferret
>
> Hi,
>
> I am working only part time so the Ferret List is the best place to
> write. I just wrote an answer to the list suggesting swapping X and Y,
> so it's good to hear you found that solution. I'm writing back to the
> List here, because use of aggregations is a good discussion for the users
>
> It's true that the T aggregation works only with NetCDF files, or
> OPeNDAP datasets. I suppose you could try opening the files, defining
> an ensemble aggregation, which would give you data on a X-Y-E grids, and
> then reshape that E-aggregation to a grid in X-Y-T with the appropriate
> T axis. Or, if you don't mind making copies of the files, when reading
> the individual .bin files, define each grid with a single-point Time
> axis, and write to a netCDF file that you could aggregate in time later on.
>
>
> On 11/5/2019 12:33 AM, ESTANISLAO GAVILAN PASCUAL-AHU wrote:
> > Hi Ansley,
> >
> > sorry, I am contacting you to your job mail instead of the user ferret
> > list. I sent a email a few days ago but I did not have any reply. I am
> > trying to analyse data from MITgcm model with Ferret. I was able to
> > open the bin files using these commands.
> >
> > define axis/X=1:3060:1: xc
> > define axis/Y=1:510:1 yc
> > define grid/X=xc/Y=yc ecco
> > set region/x=1021:1530
> > file/var=bathy/grid=ecco/format=stream/type=r4/swap
> > GEBCO_510x6x510_ver06_dig.bin
> > set variable/bad=0 bathy
> > set window/aspect=1
> > SHADE/palette=rainbow bathy
> >
> > These commands works perfectly fine to open the I/O data from MITgcm.
> > However, I would like to open a string of T dependent files. I am not
> > sure if you are familiar with this model but the model creates an
> > output data in each output frequency. Therefore, at the end of the
> > simulation we have X amount of files from the same variable
> > (SALT.00040.data,SALT.00080.data,SALT.00120.data). I tried to use the
> > aggregate.jnl function, but it seems that function only works with
> > netcdf files.. Thanks in advance for all your help
> >
> >
> > Kind regards,
> >
> > Estanislao
> >
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement