Professional information about meteorological conditions in the world
OGIMET

OGIMET

Versión española

METEOSAT
Latest meteosat / metar
Meteosat-9/metar
Meteosat-9 VIS-IR loop

WEATHER MODEL FORECAST
GFS Maps
GFS world weather maps

METEOGRAMS
Gramet aero
Gramet meteo

INDEXES
Query about indexes

UNDECODED REPORTS
Synop reports
Synop by countries
Latest synops
Metar/Taf reports
Latest metar
Latest Taf
Upper air soundings
Soundings by countries

TEXT INFORMATION
Daily summaries
Country summaries
Weather ranking
GSOD Daily summaries
CLIMAT monthly summaries

BUFR REPORTS
Get Bufr reports

GRAPHIC INFORMATION
Openmaps data navigation
Synops over countries
World synop navigation
Metars over countries
World metar navigation
World GSOD data navigation

OTHER
Database state
Credits
License
Ogimet news
WMO Resolution 40
Documentation
Contact

Advertisements

getsynop

getsynop is a small cgi binary which returns a file with undecoded synop reports in CSV format.

The columns, separated by comma, are

WMOIND,YEAR,MONTH,DAY,HOUR,MIN,REPORT 
 
The URL of CGI is
 
http://www.ogimet.com/cgi-bin/getsynop
 
It need some arguments ala GET style
 
Dates of begin and end of time interval have the format YYYYMMDDHHmm

Where

YYYY Year (four digits)
MM (month, two digits)
DD (day, two digits)
HH (hour , two digits)
mm (minute, two digits)
 
Arguments 
 
begin=YYYYMMDDHHmm  (mandatory)
end=YYYYMMDDHHmm  (default is current time)
lang=eng (english, optional)
header=yes (include a first line with the name of columns)
state=Begin_of_state_string 
block=First_digits_of_WMO_IND
ship=yes (to get ship reports for a time interval over the whole world)

If 'state' and 'block' are not selected, then is supossed all the world.

Better some examples:

1) All synops AFTER 200912160000 for states begining with 'Pol, i.e. 'Poland'
 
http://www.ogimet.com/cgi-bin/getsynop?begin=200912160000&state=Pol&lang=eng
 
2) All synops for 15-dec-2009 . Poland
 
 http://www.ogimet.com/cgi-bin/getsynop?begin=200912150000&end=200912152359&state=Pol
 
3) All synops for WMO index begining with '123' FROM 200912010000 TILL 200912040000 
 
  http://www.ogimet.com/cgi-bin/getsynop?block=123&begin=200912010000&end=200912040000

4) All ships from 06 UTC to 07 UTC on 8 Jun 2011
 
  http://www.ogimet.com/cgi-bin/getsynop?begin=201106080600&end=201106080700&ship=yes

5) All synop and synop-mobil from a land station from 06 UTC to 07 UTC on 8 Jun 2011

  http://www.ogimet.com/cgi-bin/getsynop?begin=201106080600&end=201106080700


There are some limits:

-No more than 200000 synops in a petition. :-) 
 
You can play with libraries like curl to get directly your desired file.

curl "http://www.ogimet.com/cgi-bin/getsynop?block=123&begin=200912010000&end=200912040000" -o "your_desired_file_name"
 
Same using wget 

wget "http://www.ogimet.com/cgi-bin/getsynop?block=123&begin=200912010000&end=200912040000" -O "your_desired_file_name"

Enjoy! And please, don't abuse.
DISCLAIMER: The information in these pages must be taken as merely informative. The authors are not responsible about errors, delays or failures in the data or when interpreting the data. No any critical mission should use this data.
This site do not store any personal data from users except the cookie consent status, but uses publicity cookies from Google Adsense. You can visit this paage on Google to see the details
© Copyright G. Ballester Valor 2005-2021
.