绘制串联的netCDF不会得到所需的图

如何解决绘制串联的netCDF不会得到所需的图

我使用ncrcat串联了31个netcdf文件。然后我将输出文件放在jupyter笔记本中,并尝试创建一个关于时间的图,但是我得到以下结果,有什么解决方法吗?

enter image description here

enter image description here

解决方法

您的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 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?
Java在半透明框架/面板/组件上重新绘画。
Java“ Class.forName()”和“ Class.forName()。newInstance()”之间有什么区别?
在此环境中不提供编译器。也许是在JRE而不是JDK上运行?
Java用相同的方法在一个类中实现两个接口。哪种接口方法被覆盖?
Java 什么是Runtime.getRuntime()。totalMemory()和freeMemory()?
java.library.path中的java.lang.UnsatisfiedLinkError否*****。dll
JavaFX“位置是必需的。” 即使在同一包装中
Java 导入两个具有相同名称的类。怎么处理?
Java 是否应该在HttpServletResponse.getOutputStream()/。getWriter()上调用.close()?
Java RegEx元字符(。)和普通点?