标签归档:格式

[荐] 推荐RSL(Radar Software Library,雷达软件库)

各种雷达不同的格式害死人啊害死人,这个库就是为统一读取各种格式而生的。
可以在这个基础上方便地加入其它格式的支持,我现在加入了深圳机场ADWR多普勒雷达的格式。
当然,它本身已经自带了很多格式:
HDF 1B-51 and 1C-51、Lassen (Darwin)、WSR-88d (Nexrad)、UF (Universal Format from NCAR)、SIGMET (Version 1)、SIGMET (Version 2)、McGill、TOGA、RAPIC (Berrimah)、RADTEC (SPANDAR)、EDGE …

The best feature of RSL is the ability to ingest many different RADAR data file formats with a single
library call. It can, also, read compressed files — compressed with GZIP or the older COMPRESS.
The routine is called RSL_anyformat_to_radar. You give it a filename and it will return a pointer to
a C structure called Radar. The structure Radar contains all the information found in the input file.
The structure is intended to represent a superset of all RADAR data formats.
RSL

[原] IDL的格式化字符串太让人faint了

也许跟FORTRAN差不多,那也是我为什么讨厌FORTRAN最大的原因

比如我要输出 YY-MM-DD hh_mm_ss 的时间格式:

OMG…..Orz……