[Thread Prev][Thread Next][Index]
Re: [ferret_users] open bin mitgcm output
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] open bin mitgcm output
- From: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>
- Date: Tue, 5 Nov 2019 11:10:57 -0800
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=b4Bz7zOJ; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=b4Bz7zOJ; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=gob2p9vpuqJsgXOlCssaKV2YPbVh1iRhtJvRhtGLLno=; b=ZqPptGw+2Su3A/USVYj1azTkDkX3TtpSFMUvYYMShhnwjpQSD2W4DTGYL4AtF9Dbr/ SDTB1wc+jsxX9D1gunJNXdNy6Exbw5TYf7X8OF693lpUJ53dd7cj1useBOEEveIaYIX+ XKek60Z6MdrSUmqbzPpuhyf7XM3zcTy7Pan2817szDUPWmfQwc1Q1ORl1EcnHrSTIMPJ CZ9ZPmAqIDC2n2rVzgK0Lw7yTmi8iA6lmfJGnlbAmKZdf+OQ7x/po7dKcNb89b8g+kz2 3bpVUPCFJIdKruRLGveXkOKslAjOHdx34WtgSum9d/nQTfF1TFe8bfnequRNtPnO6txV a6PA==
- 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:from:references:to:subject:dkim-signature; bh=gob2p9vpuqJsgXOlCssaKV2YPbVh1iRhtJvRhtGLLno=; b=ZCFxU2eJNy26AF5GbdPCDtIgP3bVLcmWZfe+5+1rmjkMWFR2WaMOVICmMwBmJ+9Yho z60bRRq2pGsf8+sChwAIqd5Begxy2iu0aDh2qAbNBBoyTeAG27gVoVRjJ/NN6UtQyNiM 0xGkjsZWAJv18FSEJ2jg36dY+pH1tBQPGvYZJ28l7qzyhWJDUNX+Cg+6oO0gD4UkWSW2 nr1/1J4ViaT+AJxc9lM11pixnZjsyMr5RaTvlIBbl27IrNefXjhAGhM5dqMzUuf7YiDu 6jkJdARqs4tbMJnHHmbQOViBHHHC53b8dGeDKDQhCUglSZ50kc+nkZoLpCvYJHjiWijN rzng==
- Arc-seal: i=2; a=rsa-sha256; t=1572977457; cv=pass; d=google.com; s=arc-20160816; b=KDZKw5amrTWPnuclyoTEPt7B167HER3PjzurKOCzcCIYqTU3npicSkcD0LEM5lP6DU uduIuVDIotHkTHnTY37FEQYaZp7nxKlB8NxGw/wtqAFLpExwUVpisgFYAAdJlEZhhPw1 ImwROiUjbpeZyGNIaoROZE2sjVszFBE/eNFIKxADXR29Co2C+fanaC8hiyXqye2P7PUF OKLVoUKhglB6h7eWNqNphCkFzrKPSPc6cPEjirsk4YMuc2CcNN0SXHxmMGvDjqxffF0z evQzW6+JWju5BNLBhDhJpWIe9rbPrZSaVZzKlcbsjR3EfCww6c2lYH75HD0XZzW9CPH8 5qTQ==
- Arc-seal: i=1; a=rsa-sha256; t=1572977456; cv=none; d=google.com; s=arc-20160816; b=VDnrWZ3dHztBHxrCIv6L6Y0yCyvRn0nHhWfOodVnGq7QIhrdRpdn9LXAHDjMUFTdMb vCv+1CTnV5YOZe9hxwOI2HdnAlhZIXTKGTCXVFV3u2HrzjLbncWla1ubGwYxb7UeQCYF S4a3A+87tzW+3GXsgflsb/Z1xrBKRu0m60FWBGoc55KxeMrjiUz/1fV/fTCRHoHj0jrz eNF2QWtctVj+BtnDVe4H6EIkkDvVSOQnAmWNzbHDTCBMqLZvInpJIg3Zs6GZqNadawIq DiaPBdP3JyOVgt8e/oVCl5ZKrnMGmMhcFTdxZesDWBMFzWcoiVFOVnocOANjZ4ifaydn KRsg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=gob2p9vpuqJsgXOlCssaKV2YPbVh1iRhtJvRhtGLLno=; b=erjJyVhoZqYv+0yxrj/y32F1i13AVbJYcctm1X+Mi5Eois+u+HEv3B6waF1QJ3YpSu UALxq3VilH75oR/rVX2y/3HdZuEl39hCaX7V7OHBu/2OG4VtP6f/QjXsimmnzQjVWqLs Fh3cn/2/vJeLBiIuuHXBVUTjiwjNSTqMRN3Bc3hXVibXV1dE2byaX3bMSU2+VCSB6I7i vGDQorYeeWIiP0/peoabxIOZ/RbQzyuKPdIwr8jM/ickY4GERCCjPBuLpFMZl/DuZ5DI yrT6d1VF9s69dWb4R13DE7RsnRWxUF4jNW7DiWgXFtJZR8E6GehaoHAsxxiFZM0WqTln AynQ==
- In-reply-to: <13604938.1035e.16e24cd297d.Coremail.e.gavilan@hhu.edu.cn>
- 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: <13604938.1035e.16e24cd297d.Coremail.e.gavilan@hhu.edu.cn>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0
Hi Estanislao,
I'm not familiar with this file type, but here are some ideas for
you in trying to read it with Ferret.
* check that the data type of r4 translates to values that make
sense, by just reading a few values
DEFINE AXIS/X=1:10:1 xaxis
DEFINE GRID/X=xaxis xgrid
FILE/VAR=depth/GRID=xgrid/FORMAT=UNF/type=r4 Depth.data
LIST depth
Are the values correct? If not try FORMAT=stream or other data
types
* Ferret grids are all in the order XYZTEF, or some subset of
those, so that X varies fastest. If the file has Y varying
fastest, then you'd need to define the grid with
DEFINE AXIS/X=1:3060:1 xaxis
DEFINE AXIS/Y=1:510:1 yaxis
DEFINE GRID/X=xaxis/Y=yaxis xyecco
...
and once you've read the data define a new variable using a
TRANSPOSE function to reorder the data to a correct XY grid.
On 10/31/2019 7:30 PM, ESTANISLAO
GAVILAN PASCUAL-AHU wrote:
Hi Community,
I would like to open a data output file from ECCO2 in
MITgcm. I have tried the following commands but the conversion
is wrong
DEFINE AXIS/X=1:510:1 x510
DEFINE AXIS/Y=1:3060:1 y3060
DEFINE GRID/X=x510/Y=y3060 xyecco
FILE/VAR=depth/GRID=xyecco/FORMAT=UNF/type=r4 Depth.data
I have also tried
FILE/VAR=depth/GRID=xyecco/FORMAT=stream/type=r4 Depth.data
I know I can use the matlab tool called readbin but I would
like to learn to do it with FERRET.
Kind regards,
Estanislao
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement