NETCDF提取的数据在X轴上镜像

发布于 2025-02-10 14:08:53 字数 702 浏览 0 评论 0原文

嗨,我有侧面的高程图: https://www.ngdc.noaa.gov/mgg/global/relief/relief/etopo1/data/data/bedrock/grid_register_registered/netcdf/

我想提取数据集的高度。不幸的是,我有一个问题,即NetCDF数据在X轴上镜像!我该如何解决这个问题?

dfl= pd.DataFrame({
    'Latitude' : lat.reshape(-1),
    'Longitude': lon.reshape(-1),
    'Altitude': height.reshape(-1)[0::-1],
    'Value': value.reshape(-1),
});
print(dfl)

Hi I have the elevation map from the side: https://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/bedrock/grid_registered/netcdf/

I want to extract the elevation data of the dataset and change the interpolated values with it. Unfortunately I have the problem that the NetCDF data is mirrored in the X axis! How can I solve this problem?

dfl= pd.DataFrame({
    'Latitude' : lat.reshape(-1),
    'Longitude': lon.reshape(-1),
    'Altitude': height.reshape(-1)[0::-1],
    'Value': value.reshape(-1),
});
print(dfl)

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文