我目前正在用气溶胶数据进行20年的飞行。我希望能够定义一段时间来显示数据。但是,从一天开始,所有数据都以秒为单位。这里可以看到:
<class 'netCDF4._netCDF4.Variable'>
float64 UTC_time(UTC_time)
standard_name: time
long_name: UTC time
units: seconds since 1996-07-30 00:00:00
calendar: standard
unlimited dimensions:
current shape = (1006,)
filling off
<class 'netCDF4._netCDF4.Variable'>
float64 UTC_time(UTC_time)
standard_name: time
long_name: UTC time
units: seconds since 1996-07-30 00:00:00
calendar: standard
unlimited dimensions:
current shape = (9864,)
filling off
有没有可能为所有这些数据设置一个开始时间,以便我可以参考整个数据集,例如,仅获取2015年7月的所有数据。你知道吗
非常感谢您的帮助。你知道吗
您可以使用netCDF num2date将时间单位从1996-07-30 00:00:00之后的秒转换为日历日期。你知道吗
相关问题 更多 >
编程相关推荐