meteva
meteva copied to clipboard
提供气象产品检验相关程序
现在不少地方还是用的wrf中尺度区域模式做试验,想请问前辈们有没有考虑支持Lambert投影的数据?
请问可以直接读取bz2中的grib文件吗
当站点数少于25时,报错如下: ``` Traceback (most recent call last): File "D:\Anaconda3\envs\metdig\lib\site-packages\meteva\base\io\read_stadata.py", line 773, in read_stadata_from_gds sta.iloc[k,-1] = np.frombuffer(byteArray[ind1:(ind1 + element_len)],dtype=dtype_str)[0] File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line 723, in __setitem__ iloc._setitem_with_indexer(indexer, value, self.name) File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line...
`Windows python 3.9`,安装期间报错 ``` Collecting tables>=3.4.4 Downloading https://mirror.sjtu.edu.cn/pypi-packages/2b/32/847ee3f521aae6a0be380d923a736162d698586f444df1ac24b98c65025c/tables-3.6.1.tar.gz (4.6 MB) |████████████████████████████████| 4.6 MB 6.4 MB/s ERROR: Command errored out with exit status 1: command: 'S:\ProgramData\Miniconda3\envs\sci\python.exe' -c 'import io, os, sys,...
使用版本meteva ==1.3.7  发现3处主要bug,望解决,谢谢 ### 1.time_list_mesh_wind传入save_dir参数,保存到路径会失败,这个问题比较简单,我已经自行解决 ### 2.time_list_mesh与time_list_mesh_wind在时效不足的情况下,出图show与savefig的图片不一致 以下提供测试代码和样例数据(csv) 代码: `import meteva.product as mpd import pandas as pd scv_data = pd.read_csv("D:/Test/hdf/contrast_t2m.txt") print(scv_data) data_types_dict = {'level': "float64", 'time': "datetime64[ns]", 'dtime': "int64",...
 该图中漏报与空报是否位置错误 举例: 1.实况大雨,预报大暴雨,是否应为空报,图片显示为漏报 2.预报大雨,实况大暴雨,是否应为漏报,图片显示为空报 资料:  
read_griddata_from_grib读取grib数据时,报错: ValueError: ('member', 'isobaricInhPa', 'time', 'dtime', 'latitude', 'longitude') must be a permuted list of ('dtime', 'time', 'member', 'step', 'isobaricInhPa', 'latitude', 'longitude'), unless `...` is included 请问这个怎么解决?
为None时正常运行 grid0 = meb.interp_sg_idw(sta,grid0,nearNum = 4,background=0,effectR=20) C:\ProgramData\Anaconda3\lib\site-packages\meteva\base\fun\interpolating.py in interp_gg_linear(grd, grid, used_coords, outer_value) 460 if (grd is None): 461 return None --> 462 levels = grd["level"].values 463 times = grd["time"].values 464...
 如果filename中的step是一个多维,即1,2,3,4...70,71,72,那么read_griddata_from_grib函数中的dtime=12,数据读出来仍然是dtime=1,2,3...71,71,72,即dtime没有起作用