<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 21/05/2016, at 2:50 PM, afwande juliet <<a href="mailto:afwandej965@gmail.com" class="">afwandej965@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi all<br class=""></div>has someone has experince in getting ERAhttp://<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/-interim" class="">apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/-interim</a> data ffrom <br class=""><br class=""></div>uisng python or MARS request.<br class=""></div>I get error in this python script <br class=""></div>./script.pyFile "./script.py", line 3<br class=""> server = ECMWFDataServer(<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/" class="">http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/</a>)<br class=""><span style="color:rgb(0,0,255)" class="">SyntaxError: invalid syntax<br class=""><br class=""></span></div><span style="color:rgb(0,0,255)" class="">the script looks like this<br class=""></span><div class=""><br class=""><br class="">#!/usr/bin/env python<br class="">from ecmwfapi import ECMWFDataServer<br class="">server = ECMWFDataServer(<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/" class="">http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/</a>)<br class="">server.retrieve({<br class=""> "class": "ei",<br class=""> "dataset": "interim",<br class=""> "date": "1997-01-01/to/2002-12-31",<br class=""> "expver": "1",<br class=""> "grid": "0.75/0.75",<br class=""> "levelist": "1/2/3/5/7/10/20/30/50/70/100/125/150/175/200/225/250/300/350/400/450/500/550/600/650/700/750/775/800/825/850/875/900/925/950/975/1000",<br class=""> "levtype": "pl",<br class=""> "param": "129.128/130.128/131.128/132.128/133.128",<br class=""> "step": "0",<br class=""> "stream": "oper",<br class=""> "time": "06:00:00",<br class=""> "type": "an",<br class=""> "target": "PRESSURE",<br class=""><br class=""></div><div class="">or what about MARS request???<br class=""></div><div class="">I have tried to read the site ttps://<a href="http://software.ecmwf.int/wiki/display/WEBAPI/Python+ERA-interim+examples" class="">software.ecmwf.int/wiki/display/WEBAPI/Python+ERA-interim+examples</a><br class=""></div><div class="">but cant understand<br class=""></div></div>
_______________________________________________<br class="">Wrf-users mailing list<br class=""><a href="mailto:Wrf-users@ucar.edu" class="">Wrf-users@ucar.edu</a><br class="">http://mailman.ucar.edu/mailman/listinfo/wrf-users<br class=""></div></blockquote></div><br class=""></div></body></html>