爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 9054|回复: 7

[求助] FY4A卫星边界是多少经纬度?

[复制链接]

新浪微博达人勋

发表于 2020-8-28 15:49:40 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 洗雨 于 2021-11-11 15:20 编辑

下载了风云四卫星的中国区域云图,但是看描述文件没发现他的最小经纬度和最大经纬度,有哪位知道吗?

   
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2020-8-28 17:02:45 | 显示全部楼层
洗雨 发表于 2020-8-28 16:09
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 27 15:06:01 2020

供参考
FY4A_REGC.PNG
密码修改失败请联系微信:mofangbao
回复 支持 1 反对 0

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-8-28 16:09:28 | 显示全部楼层
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 27 15:06:01 2020
绘制风云4可见光2km通道图像
@author: micapsadm
"""

import cartopy.crs as ccrs
import cartopy.feature as cfeature
import matplotlib.pyplot as plt
import h5py  #导入工具包
import numpy as np
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import cartopy.feature as cfeature
from cartopy.mpl.ticker import LongitudeFormatter, LatitudeFormatter

f = h5py.File(r'K:\风云\FY4A-_AGRI--_N_REGC_1047E_L1-_FDI-_MULT_NOM_20190804232334_20190804232750_2000M_V0001.HDF','r')
print(f.keys())
a = f['NOMChannel06'][:]
print((f['NOMChannel01']).shape)
print(a.shape)
print(f['NOMObsColumn'])
print(a.max(),a.min())


box = [70,100,25,40]

xstep,ystep = 5,5
fig = plt.figure(figsize = (8,8))

#选择绘图区域
a = a[500:2000,2000:4000]
print(a)
crs = ccrs.LambertConformal(central_longitude=91.13,central_latitude=29.67)

ax = fig.add_subplot(1,1,1,projection=crs)
# im = ax.imshow(a,cmap='gist_gray')
#可见光云图,vmax设置511,1023等。红外不设置
im = ax.imshow(a,cmap='gist_gray',vmax=511,vmin=0,origin='upper')

plt.show()

fy4a1000.py

1.04 KB, 下载次数: 17, 下载积分: 金钱 -5

密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2020-8-28 19:28:35 | 显示全部楼层
https://blog.csdn.net/modabao/article/details/83834580

                               
登录/注册后可看大图
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-8-29 11:16:08 | 显示全部楼层
墨家大宝 发表于 2020-8-28 19:28
https://blog.csdn.net/modabao/article/details/83834580

谢谢老师!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-8-29 11:29:25 | 显示全部楼层

谢谢老师,不过我按照您的程序运行时出现了 run script...
Traceback (most recent call last):
  File "<iostream>", line 15, in <module>
AttributeError: 'tuple' object has no attribute 'proj'
这个问题应该怎么解决?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2020-8-29 11:52:54 | 显示全部楼层

谢谢老师,不过我按照您的程序运行时出现了以下问题,您看该怎么调整呢?
run script...
Traceback (most recent call last):
  File "<iostream>", line 15, in <module>
AttributeError: 'tuple' object has no attribute 'proj'
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2020-8-29 22:55:03 | 显示全部楼层
洗雨 发表于 2020-8-29 11:52
谢谢老师,不过我按照您的程序运行时出现了以下问题,您看该怎么调整呢?
run script...
Traceback (mo ...

是不是版本的问题?用MeteoInfo最新版本
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表