[Thread Prev][Thread Next][Index]
Re: [ferret_users] axis transfer from depth to time-reg
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] axis transfer from depth to time-reg
- From: Ansley Manke <a.c.manke@xxxxxxxxx>
- Date: Tue, 3 Oct 2023 15:13:28 -0700
- Arc-authentication-results: i=4; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LzwzLYXD; arc=pass (i=2 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.200 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=20230601 header.b=LzwzLYXD; arc=pass (i=2 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.200 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=20230601 header.b=LzwzLYXD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.220.41 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=20230601 header.b=LzwzLYXD; 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 :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=df9f2kdwWxEqi/E8swkXn1bdoiL0974c4nT9YerSjws=; fh=QdzEOVIE7C9QYEL4Zwr0UqFOIjzYCvai+lt1SPt1uqs=; b=xUYz1plMJY+Q36idFSh6mhbfvTHySHyaDMF0H3N73lUDaPwzf/L239yvfrSVy/atOB ZqI11sRb5axjhbYzpzjyreNKomuHH+D9lJ9Dbr+ifSVwFb0ywj1dOj85JI8lwm/WYRzA WE2kLzueUzibHUEXlq8SWVBiNhSSnFp2FMDWk9Sf5nFrF4AxNNXVUd8x3buzncZxRQEm JyB6DnSs5JLUfsTUpCfm7gh0F5UDlt5C4DpFq5FJPyPUHz2J5TyoNJZjz7g2lwveI3YD ANg+oAjCILPZIsX7bb//TWZ686fOGJOVp5K2fJjhXzqADKMseeUlZnl0uYoEWdIXMjf1 CifA==
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=df9f2kdwWxEqi/E8swkXn1bdoiL0974c4nT9YerSjws=; fh=QdzEOVIE7C9QYEL4Zwr0UqFOIjzYCvai+lt1SPt1uqs=; b=V4Yoq9jur/FBpinKi1l1rSJ+8zBXQRZYleTT5Sb251fyRMUJTlPwrcXqL6AMLFgGZ6 ++jJh1Vz4ljwBJOrHpWWPN/J4ha6CDqGpaWApXKKxlgKdMwWYKrheyoET3BP0ka5d3PL WbDZttiEX7O7l9hGvodggE16PnbNBu0f+caxUsK4MTEayTJgfN7e0tLwepjs7E9oAxGH OzeKIB/veBfUxRLh99UwyBHW93ZeprotTlRDct7BPDaFFztqx83mlsLEMHevpK+xNF0y 9FAVN90CHWzZAXlIowntkxeAWVJn7HxM42vL4BwKF42w7F9yDD+5UAtH7mHZVPNA929D 1IKw==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=df9f2kdwWxEqi/E8swkXn1bdoiL0974c4nT9YerSjws=; fh=QdzEOVIE7C9QYEL4Zwr0UqFOIjzYCvai+lt1SPt1uqs=; b=bEufL0oEkKSF7NaTd99YAcvkdt/FGltW5bwKfOQLm/CL65zzkuRgGNrJJGSSxISsbQ HIhIRzSMRcxqErAGpHIv14dDL6Qs8WfthapyV1/MU65OSdMzRfQS7C29OKoBZzdHJSiY BSMja1RXe6IN6iSu4jEeWrZVw2usFv2Lxp9oqVgarJCDxptPwryUptCPlqQQ417W+eYe cilBIEreOBuUiquN/aaWHbF5kEc8qFXQB0m9hABAgr/W/bSy9PpbsGw5hXkBJJRdjBhq E0mdCeqG5idDztXnZmIkDq3UJmuXkVuGHeDil6Rc7anOvYvig41QIlukgagGKmSTP3qz ZMDA==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=df9f2kdwWxEqi/E8swkXn1bdoiL0974c4nT9YerSjws=; fh=QdzEOVIE7C9QYEL4Zwr0UqFOIjzYCvai+lt1SPt1uqs=; b=SfC3fFlp1NeXie9KaxrFy9J7tpvksj+ZmGO5LOcFnz6MAxVRBp5H0u1cmJ23V7kqs1 blp3mbmwspNfO99+PFFH+ELixgVP22jXya7NZ1tItQ3gCrWQ5l3bw4xYgCLEOAzUodpB rJNEVJ/AqP45HYa+Ng12t8joLk7gAxok4s8WRlEuy5r79ai8HoHWRcnT9AFhToXB1qYf PFk3Ka1FYbublIb2cZy55Zf8RUhubOofZcykh2QHloHawMsmFNki1UKdN+ytStGdJa25 Pj7gz9SD95b9NM6KAAdOt/4lK51WYpw64o3GjcHmsrcVWChe/Yj/4NLd4N/Zy8AKhEQ1 bcxg==
- Arc-seal: i=4; a=rsa-sha256; t=1696371217; cv=pass; d=google.com; s=arc-20160816; b=vPM277uY3UocuBBFA8Ji0FJdVloaTjGBddq93gLcBk5yl27cyv4uz+Q+2Qi5ThnGt6 u7eQ8+5LA45qqDoH6oLuzvDDcME0HiDinWwQOqROEobItDjLu9ZfQ81mHn2CuawDsHmH ySDM/L5qPno6n2aMmSnd0O1/Unknv0N4uze9yx/Vfy4CyGzy5BsvvVFLFYeLdAVDxGq2 +MD0HkDA4xwbVR5gAKiAlcav4wxROEPzVGmFI5UNhUiqb6Ze3fpQIslG08GHC2uzRA6x jBC3sNcNcAtgk5MEgmNjJpdgLI5N48SHjLN1/LM6VW11BkqHO9LghhNJUeU+eNLUMB9f z9wA==
- Arc-seal: i=3; a=rsa-sha256; t=1696371215; cv=pass; d=google.com; s=arc-20160816; b=r9+9c0Bv5X9XH3JfVj2iYl7n4zzf5uReT105s70PQZeyHmJoPZCN/fDW87NfEgddp8 frtZ7u9HjsG2oTPxIvYG6S7wdZSwp0NAUp3qvS5IjGAK100EIpv0Wp1IGlLGuqbG6Mut OQbrTaCNRqTxzY9EmKSZVhKEuSh8nO9LPTng1zdO6/tDE2INyWAavKtSltIQXestd9G3 m7VMprVQGs4DxMbisLvOtEhH8cwsktZt0dUmz4z02LKZSTg/c7ZJtXEz0DgiVXCG8HrO /xRnFgFlP1OP7reaA5lWYcatlwt1io/ORPp9JFBaII2zq3Z3CozhnLxzpO937qs0UqXZ 2TWQ==
- Arc-seal: i=2; a=rsa-sha256; t=1696371212; cv=pass; d=google.com; s=arc-20160816; b=ysU/AC596zFg2wEa+26MNhOgkVM4aKQiDSFj2xAVSLA2oWgzuQ6azAohO+ABQNUJSv Slv+ssdZoZQTQDZ5YA7sGNybWRNVxFXMl3IUr+m52jUGvO7ctjajTbpLdBi2DuEwnXzl OuMDXC+L/Z4dNBEQVQ7DyqpUFh2bIhYNWh/fxw5R7+3KS6FtM6SJiEtv++EXy1huRQaW JOxs2N/5LRENz6r9PIqpW014oVu52M6LLT3H5uTlZnQT19Rq0gerUrebwNkJjQS/7q3p igvg/yU/G/n+p/ptApuGsWNpmcYJWKd4AsAgxd9m2uTEOuZP+cYFbbSXnv9Hpf9H+T6G DxjA==
- Arc-seal: i=1; a=rsa-sha256; t=1696371211; cv=none; d=google.com; s=arc-20160816; b=mad21tecNYmlJhwjyaqS7N7PAjG+mUPceBKAFyMM8xUzzTM074WyggBNqiikZYaZus KPBX6nkuF7EszIpW9XRnBXo9jRX7/9aiy+jPWjrefaflD5xGlzUSg7fD4iXxVf+6W2kX AcdwcsV8pzfwP14vsTERjGKzfKRy+oilo9MQ4wmEANyXiEFr/O92r82eXspEYqNt2YZ9 aqF0WiQVAfKYfyEuDwutYYBJtQFOzfm43L91Xm8zrXcUM/uxasHtjEVy/6s/6JSqOmYy cCJofdH8EOaQrOKQc46FFK54BIiIo4rvlU4IQNbF7D82ewn+J1/wEzXiR8oyYTRTAIbL fXeA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; t=1696371217; x=1696976017; darn=eclipse.pmel.noaa.gov; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:in-reply-to :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=df9f2kdwWxEqi/E8swkXn1bdoiL0974c4nT9YerSjws=; b=lN5iIIWf9X1C+Pt1Nb030dcaSMtvsTmis9whz9VJx1s7o88aXs2SvjpWpJgADroocB 71rJNhVd1tCUGpjbyEZZ4DEERpVkcpfAncXFm0dn444hDuzeZ1wnWYi2cLZQ/loUnCow mHZQDa7d+Vc/+d7zLkTOvPCdAUjFD0d1OQo3zbzq6WIMjFYin77gh+ME+EIqd9a6jwE9 OUu1zaVUWmic3J1lmi3KW4rfADId9RL5qpToADCegmiJytmElMCQQP5QBTDGbY5RURUy 7GI9lC54cQloE5SVCyr8hJDhOuer1QVkDujEqAmA9/NP93ZXuqx/p/BIkZrVl4NH2YCJ QMLA==
- In-reply-to: <CADDb+48JDPifCMHG3SfWdWMPevHS=67o=nNJXaw0jB2r_Ekfdg@mail.gmail.com>
- 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: <CADDb+48JDPifCMHG3SfWdWMPevHS=67o=nNJXaw0jB2r_Ekfdg@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Hi Srinivas,
Some netCDF datasets do not have the attributes that PyFerret
uses to determine the direction of the dimensions of the
variables. When that is the case, PyFerret will create a grid
with the axes in the order x, y, z, t, and if needed e, and f for
the fifth and sixth dimensions.
You should be able to open the dataset with the /ORDER qualifier,
yes? use/order=xyt
filename.nc
In the CF standard for NetCDF files, dimensions are associated
with coordinate variables, and those variables have attributes
which define their direction, the coordinate units, and for a time
axis, the time origin for the axis. Many files that do not
completely comply with the CF standard can still be used in
PyFerret. The /ORDER qualifier is one tool for doing that, and
you also may want to redefine the time axis after opening the
file, to associate the time steps with the correct dates and
times.
You can look at the header information for a netCDF dataset using
the Unix command ncdump:
> ncdump -h
filename.nc
The output of this command shows the dimensions defined in the
file, and the variables and coordinate variables that it contains.
There is more about netCDF files in the Ferret Users' guide,
https://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/converting-to-netcdf.
The full CF standard is here (quite a long document!)
https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html
Ansley
On 9/27/2023 5:53 AM, srinivas kotta
wrote:
Dear ferret users,
I have a netcdf file, data have 4time steps at single
level. But it shows the time axis in depth axis. How can I
transfer the depth axis into time axis. Dimensions of the
data is attached here.
Thank you
Thanking you
and with Regards,
Srinivas
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement