|
发布MeteoInfo 4.0版本,自MeteoInfo 3.9版本后的主要更新包括:
- Support GRIB data with CCSDS compression
- Better Bufr data support including multi-category messages in one data file
- Support avoiding collapse of x-axis labels in ProjLonLatAxis class
- Add `fft` package for fast fourier transformation
- Add `frombuffer` function to create ndarray object
- Add cross_section function in meteolib package
- Update XYZ tile layer base URL similar with QGIS
- Update netcdf-java to version 5.8.0-SNAPSHOT
- Update flatten and ravel functions
- Update WebImage plot function
- update Jython to version 2.7.4;
- update flatlaf to version 3.5.4
- Some other bugs fixed
ECMWF最近GRIB数据文件的压缩算法改为了CCSDS,导致之前的MeteoInfo版本无法读取ECMWF最新的GRIB格式数据。感谢netCDF-Java库的最新更新,利用JNA对C语言的libaec库进行了封装使其能够用Java语言调用(https://github.com/Unidata/netcdf-java/issues/753)。MeteoInfo 4.0利用此更新实现了对CCSDS压缩算法GRIB格式数据的读取功能。
fn = r'D:/Temp/grib/ecmwf/20250106180000-0h-oper-fc.grib2'
f = addfile(fn)
data = f['Geopotential_surface'][0]
axesm()
geoshow('country')
imshow(data)
colorbar()
title('GRIB data with CCSDS compression example')
来源:MeteoInfo 公众号
|
|