I used to download from isc through the old gem catalogue toolkit, updated in the current oq-mbtk environment. Now I'm having trouble downloading .isf equake catalogue. See code:
%matplotlib inline
import openquake.cat.isc_downloader as isc
Cat1 = isc.ISCBulletinUrl()
Cat1.SetField("OutputFormat","ISF")
Cat1.SetField("StartYear","2000")
Cat1.SetField("EndYear","2001")
Cat1.SetField('SearchAreaShape','RECT')
Cat1.SetField('RectangleBottomLatitude','23')
Cat1.SetField('RectangleTopLatitude','34')
Cat1.SetField('RectangleLeftLongitude','77')
Cat1.SetField('RectangleRightLongitude','91')
Cat1.SetField("MinimumDepth","")
Cat1.GetCatalogue()
Cat1.WriteOutput("outputs/Example_ISF_Catalogue.isf")
I just get a connection error
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Server is busy, retrying in a few seconds...
Warning: Maximum number of attempts reached...
Was there something new/changed in the way we download from the ISC bulletin? Help is much appreciated.
I used to download from isc through the old gem catalogue toolkit, updated in the current oq-mbtk environment. Now I'm having trouble downloading .isf equake catalogue. See code:
I just get a connection error
Was there something new/changed in the way we download from the ISC bulletin? Help is much appreciated.