如何解决绘制串联的netCDF不会得到所需的图
我使用ncrcat串联了31个netcdf文件。然后我将输出文件放在jupyter笔记本中,并尝试创建一个关于时间的图,但是我得到以下结果,有什么解决方法吗?
解决方法
您的time
坐标值似乎都相同。确保您使用的是ncrcat
的最新版本,并且NCO是在启用UDUnits的情况下构建的。否则,无法期望文件的时间串联(也称为重新基准化)正常工作。
zender@sastrugi:~$ ncrcat -r
NCO netCDF Operators version 4.9.6-alpha03 "Osiris Rex" built by zender on sastrugi at Oct 26 2020 12:50:42
ncrcat version 4.9.6-alpha03
Linked to netCDF library version 4.7.4 compiled Oct 5 2020 21:03:41
Copyright (C) 1995--2020 Charlie Zender
This program is part of NCO,the netCDF Operators.
NCO is free software and comes with a BIG FAT KISS and ABSOLUTELY NO WARRANTY
You may redistribute and/or modify NCO under the terms of the
3-Clause BSD License with exceptions described in the LICENSE file
BSD: https://opensource.org/licenses/BSD-3-Clause
LICENSE: https://github.com/nco/nco/tree/master/LICENSE
Homepage: http://nco.sf.net
Code: http://github.com/nco/nco
Build-engine: Autoconf
User Guide: http://nco.sf.net/nco.html
Configuration Option: Active? Meaning or Reference:
Check _FillValue Yes http://nco.sf.net/nco.html#mss_val
DAP support Yes http://nco.sf.net/nco.html#dap
Debugging: Custom No Pedantic,bounds checking (slowest execution)
Debugging: Symbols No Produce symbols for debuggers (e.g.,dbx,gdb)
GNU Scientific Library Yes http://nco.sf.net/nco.html#gsl
HDF4 support No http://nco.sf.net/nco.html#hdf4
Internationalization No http://nco.sf.net/nco.html#i18n (pre-alpha)
Logging No http://nco.sf.net/nco.html#dbg
netCDF3 64-bit offset Yes http://nco.sf.net/nco.html#lfs
netCDF3 64-bit data Yes http://nco.sf.net/nco.html#cdf5
netCDF4/HDF5 support Yes http://nco.sf.net/nco.html#nco4
OpenMP SMP threading Yes http://nco.sf.net/nco.html#omp
Regular Expressions Yes http://nco.sf.net/nco.html#rx
**UDUnits2 conversions Yes http://nco.sf.net/nco.html#udunits**
,
您也可以尝试与
进行合并cdo mergetime infiles*.nc merged_file.nc
使用以下命令从命令行检查输出日期
cdo showdate merged_file.nc
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。