首页 > 编程知识 正文

python读取excel(python读取nc文件并转换为excel_如何将多维数据nc文件数据转换为三列格式)

时间:2023-05-06 02:24:20 阅读:123451 作者:2308

有人能帮助我吗,我会从MatlabR2013B的. NC(netcdf )文件读取数据。

我得到了这个变量Variables:

时间

Size: 1x1

Dimensions: time

datatype :双精度

Attributes:

units=' hours since 0001-01-0101336000336000.0 '

calendar='gregorian '

latitude

1个Size: 801x1

Dimensions: latitude

datatype :单引擎

Attributes:

units='degrees_north '

长时间

1个Size: 1501x1

dimensions :长时间

datatype :单引擎

Attributes:

units='degrees_east '

1个Size: 1501x801x1

Dimensions: longitude、latitude和time

datatype :单引擎

Attributes:

least_significant_digit=1

long_name='Density '

units='Density Index '

超人力霸王

1个Size: 1501x801x1

Dimensions: longitude、latitude和time

datatype :单引擎

Attributes:

least_significant_digit=1

long_name='High level '

units='m '

. etc

需要这样的格式:

^{pr2}$

所有数据。 在

可以读取经度和经度等各变量,但有DEN和HGH这样的三维空间,不知道如何从经度、纬度、DEN和HGH的值中综合。 在

你有什么建议吗? 如果有python或r解决方案,请告诉我如何读取nc文件。 在

早点谢谢

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。