[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jmadata-users33] software to read GPV (and to convert intoNetCDF)
ÎëÌÚÍÍ¡§
(B(jmadata-users ¤Î³§ÍÍ)
(B
(B½ÐÄ¥¤¬Â³¤¤¤¿¤¿¤áÊÖ»ö¤¬ÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£
(B¤´»ØŦ¤ª¤è¤Ó¥×¥í¥°¥é¥à¤Î²þÁ±Äó°Æ¤ò¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
(B
(B> > MSMµÚ¤ÓRSM¤Î¥Ç¡¼¥¿¡Êin¡Ö¹ñÆ⣲¿Ê·Á¼°¡×¡Ë¤òÆɤि¤á¤Î¥½¥Õ¥È¤òºî¤ê
(B> > ¤Þ¤·¤¿¡£µ¤¾ÝÄ£¤ÎËÅĤµ¤ó¤Ë¥¢¥É¥Ð¥¤¥¹¤òĺ¤¤Þ¤·¤¿¤Î¤Ç¡¢µ¤·¤Æ´¶¼Õ
(B> > Ãפ·¤Þ¤¹¡£
(B>
(B> ¤³¤ì¤òÍøÍѤ·¤Æ¡¢msm ¤Î¥Ç¡¼¥¿¤ò netcdf ¤ØÊÑ´¹¤·¤Æ¤ß¤Þ¤·¤¿¡£
(B> »ä¤Ï GrADS ¥æ¡¼¥¶¤Ê¤Î¤Ç¡¢GrADS ¤ÇľÀÜÆɤá¤ë¤ÈÂçÊÑÊØÍø¤Ê¤Î¤Ç¤¹¤¬¡¢
(B> ¤³¤Î¥½¥Õ¥È¤ÇÊÑ´¹¤·¤¿¤â¤Î¤ò GrADS ¾å¤Ç³«¤¯¤È
(B> ga-> sdfopen MSM00PLM018_1.nc
(B> Scanning self-describing file: MSM00PLM018_1.nc
(B> SDF file has no discernable X coordinate.
(B> ¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¡¢¤¦¤Þ¤¯Æɤá¤Þ¤»¤ó¡£
(B
(B³Î¤« GrADS ¤Ï COARDS ·Á¼°¤ËÂбþ¤¹¤ë¤Î¤Ç¤¹¤è¤Í¡£
(B
(B³Î¤«¤Ë¤´»ØŦ¤Î¤è¤¦¤Ë¡¢ºÂɸÊÑ¿ô¤Ë units ¤ä long_name Åù¤Î°À¤òÄê
(BµÁ¤¹¤ë¤Î¤ò¥µ¥Ü¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¤ä¤Ï¤ê COARDS ½àµò¤Ë¤¹¤ë¤Ù¤¤Ç¤¹
(B¤Í¡£Àè½µÍ褳¤Á¤é¤Î¥Õ¥¡¥¤¥ë¥µ¡¼¥Ð¡¼¤Ë¸Î¾ã¤¬È¯À¸¤·¤Æ½¤Éü¤¬Ä¹°ú¤¤¤Æ
(B¤¤¤Þ¤¹¤Î¤Ç¡¢º£¤¹¤°¤ÏÂбþ¤Ç¤¤Ê¤¤¾õÂ֤ǿ½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£
(B
(B> ¤³¤³¤ò¤Ê¤ó¤È¤«¤¹¤ì¤Ð¤¤¤¤¤Î¤«¤Ê¡¢¤È»×¤¤¡¢¥½¥Õ¥È¤Î¥½¡¼¥¹¤Î
(B> gpv2nc.rb ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤Æ¤ß¤Þ¤·¤¿¡£
(B> ¤Þ¤º¡¢±ôľÊý¸þ¤Î´Ø¿ô¤¬ p ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤ò level ¤ËÊѤ¨¤Æ¤ß¤Þ¤·¤¿¡£
(B
(BCOARDS ¤Ç¤Ï°µÎϤκÂɸ̾¤Ï level ¤Ç¤Ê¤¯¤Æ¤â¤¤¤¤¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦
(B¤«¡£°Ê²¼¡¢
(Bhttp://ferret.wrc.noaa.gov/noaa_coop/coop_cdf_profile.html ¤è¤ê
(B°úÍѤ·¤Þ¤¹¡£
(B
(B|| Coordinate variable names: The names of coordinate variables are
(B|| not standardized by these conventions (since data sets may in
(B|| general contain multiple coordinate variables of the same
(B|| orientation). Coordinate variable names should follow the same
(B|| general naming rules (above) as other netCDF variables.
(B
(Blevel ¤È¤¤¤¦É½µ¤Ï³Î¤« NOAA Ä󶡤ΠNCEP ¥Ç¡¼¥¿ netcdf ¥Õ¥¡¥¤¥ë¤Ë
(B»È¤ï¤ì¤Æ¤¤¤¿¤È»×¤¤¤Þ¤¹¤¬¡¢¸Ä¿ÍŪ¤Ë¤Ï°µÎϤò¤³¤Î̾Á°¤Çɽ¤¹¤Î¤Ï¹¥¤
(B¤¸¤ã¤Ê¤¤¤Ç¤¹¡£°µÎϤȤ¤¤¦¤³¤È¤¬Ê¬¤«¤ê¤Ë¤¯¤¤¤Î¤Ç¡£ÌäÂê¤Ï̾Á°¤Ç¤Ê¤¯¡¢
(Bunits Åù¤Î°À¤¬¤Ä¤¤¤Æ¤Ê¤¤¤³¤È¤À¤È»×¤¤¤Þ¤¹¡£
(B
(B> ¤Þ¤¿¡¢
(B> --------------------------------------------------------------¤³¤³¤«¤é
(B> output.def_var('lon', "sfloat", [dimx])
(B> output.def_var('lat', "sfloat", [dimy])
(B> output.def_var('level', "sfloat", [dimz]) if not plane.first.nil?
(B> output.def_var('time', "sfloat", [dimt])
(B> --------------------------------------------------------------¤³¤³¤Þ¤Ç
(B> ¤È¤Ê¤Ã¤Æ¤¤¤ëÉôʬ¤ò
(B> --------------------------------------------------------------¤³¤³¤«¤é
(B> output.def_var('lon', "sfloat", [dimx])
(B> output.var('lon').put_att('units', 'degrees_east')
(B> output.var('lon').put_att('long_name', 'Longitude')
(B> output.def_var('lat', "sfloat", [dimy])
(B> output.var('lat').put_att('units', 'degrees_north')
(B> output.var('lat').put_att('long_name', 'Latitude')
(B> output.def_var('level', "sfloat", [dimz]) if not plane.first.nil?
(B> output.var('level').put_att('units', 'millibar') if not plane.first.nil?
(B> output.var('level').put_att('long_name', 'Level') if not plane.first.nil?
(B> output.var('level').put_att('positive', 'down') if not plane.first.nil?
(B> output.def_var('time', "sfloat", [dimt])
(B> output.var('time').put_att('units', 'hours')
(B> output.var('time').put_att('long_name', 'Time')
(B> --------------------------------------------------------------¤³¤³¤Þ¤Ç
(B> ¤È½ñ¤²Ã¤¨¤ÆÊѹ¹¤·¤Þ¤·¤¿¡£
(B> ¤¹¤ë¤È¡¢¤È¤ê¤¢¤¨¤º GrADS ¤Çɽ¼¨¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
(B
(B¤³¤ì¤Ç·ë¹½¤Ç¤¹¡£º£¸å¡¢Â¾¤ÎÉôʬ¤È¤ÎÀ°¹çÀ¤ò¹Í¤¨¤Æ¡¢µ¡Ç½Åª¤Ë¤ÏƱÅù
(B¤ÎÊѹ¹¤ò¹Ô¤¦¤Ä¤â¤ê¤Ç¤¹¡£
(B
(B> ¤¬¡¢¤Þ¤À²þÁ±¤·¤¿¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
(B>
(B> lon, lat, level ¤Ë´Ø¤·¤Æ¤Ï¤É¤Î¥Õ¥¡¥¤¥ë¤â¤Û¤ÜƱ¤¸¤Ç¤·¤ç¤¦¤«¤é
(B> ¤³¤Î¤Þ¤Þ¤Ç¤â¤¤¤¤¤Î¤Ç¤¹¤¬¡¢»þ´Ö¤Ë´Ø¤·¤Æ¤Ï¥Õ¥¡¥¤¥ëËè¤Ë°ã¤¤¤Þ¤¹¡£
(B> º£¤Î¾õÂ֤ǤϤɤ¦¤·¤¿¤â¤Î¤«¤ï¤«¤é¤Ê¤¤¤Î¤Ç¡¢¤È¤ê¤¢¤¨¤ºÀßÄê¤Ï¤»¤º¡¢
(B> ·ë²Ì¤È¤·¤Æ1ǯ1·î1Æü00Z ¤«¤é3»þ´Ö¤ª¤¡¢¤È¤¤¤¦ÆâÍƤˤʤäƤ¤¤Þ¤¹¡£
(B> ¤ª¤½¤é¤¯¡¢¤â¤È¤Î msm ¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤«¤é»þ´Ö¤ÎÃͤòÆɤó¤Ç netcdf
(B> ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤³¤á¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢
(B> º£¤Î»ä¤Ë¤Ï¼ê¤¬Í¾¤ê¤½¤¦¤Ç¤¹¡£
(B
(B»þ´Ö¤Ï¤Á¤ã¤ó¤È½ñ¤½Ð¤µ¤ì¤ë¤±¤É¡¢¤½¤ÎÆâÍƤ¬¡Ö1ǯ1·î1Æü00Z ¤«¤é3»þ
(B´Ö¤ª¤¡×¤Ê¤Î¤Ç¤¹¤Í¡Ê1ǯ1·î1Æü¤«¤é¤Ç¤Ê¤¯³Æǯ¤Î1·î1Æü¤«¤é¡©¡Ë¡£¤½
(B¤Î¾ì¹ç¤Îñ°Ì¤Ï¡¢"days since 2002-01-01 00:00+00" ¤Ê¤É¤È¤·¤Æ
(Bsince °Ê²¼¤Ç¥ª¥Õ¥»¥Ã¥È¤òɽ¤¹¤³¤È¤Ë¤Ê¤ê¤Þ¤¹
(B(http://www.unidata.ucar.edu/packages/udunits/)¡£Ã±°Ì¤Ï¤â¤·¤«¤·
(B¤Æ hours ¤Ç¤·¤ç¤¦¤«¡£1ǯ¤Î»Ï¤á¤«¤é¤È¤Ê¤ë¤È¡¢days ¤ËÊѤ¨¤¿Êý¤¬Ê¬
(B¤«¤ê¤ä¤¹¤¤¤Ç¤¹¤Í¡£
(B
(B> ¤Þ¤¿¡¢»ä¤Ï ruby ¤ÏÁ´¤¯¤¤¤¸¤Ã¤¿¤³¤È¤Ï¤Ê¤¯¡¢netcdf ¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸¤â
(B> ¼«Ê¬¤Ç¥×¥í¥°¥é¥à¤Ï½ñ¤¤¤¿¤³¤È¤¬¤Ê¤¤¤Î¤Ç¡¢¤Á¤ã¤ó¤È¤·¤¿¤³¤È¤ò¤ä¤Ã¤Æ¤¤¤ë¤Î¤«
(B> É԰¤Ǥ¹¡£ÆÃ¤Ë 'level' ¤Î¹à¼þÊդʤɡ£¤É¤Ê¤¿¤«¸«¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
(B>
(B> ÂçÊÑ¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¤¬¡¢¡Ö¤³¤¦¤¤¤¦´Ø¿ô¤Ç¥×¥í¥°¥é¥àÃæ¤Ç°·¤Ã¤Æ¤¤¤ë¡×¤Ê¤É¡¢
(B> ¤É¤Ê¤¿¤«¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
(B> ¡ô ¤â¤Á¤í¤ó¡¢Ä¾ÀܲþÎɤ·¤Æ¤¯¤ì¤ì¤Ð¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¤¬¡Ä¡Ä
(B
(B¤½¤Î¤Ä¤â¤ê¤Ç¤¹¤¬¡¢¾¯¤·»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¤Î¤Ç¡¢¤â¤·¤³¤ì¤Þ¤Ç¤Î¤´Êѹ¹
(B¤ÇÉÔÅԹ礬¤Ê¤±¤ì¤Ð¤·¤Ð¤é¤¯¤½¤ì¤ò¤ª»È¤¤²¼¤µ¤¤¡£
(B
(BËÙÇ·Æâ Éð horinout@xxxxxx
(BµþÅÔÂç³ØÃè¶õÅÅÇȲʳظ¦µæ¥»¥ó¥¿¡¼ 611-0011 ±§¼£»Ô¸Þ¥ö¾±