[webservices] Flinn-Engdahl implementation

Anthony Lomax alomax at free.fr
Wed Oct 24 22:16:12 PDT 2012


Hi Fabien,

I have a translation to C if this is of interest to you.

Ciao,

Anthony


feregion.c :

/*

20110120 AJL - Converted to C from perl source at ftp://hazards.cr.usgs.gov/feregion/fe_1995/

#!/usr/local/bin/perl -w

# feregion.pl - returns Flinn-Engdahl Region name from decimal lon,lat values given on command line.

# Version 0.2 - Bob Simpson January, 2003  <simpson at usgs.gov>
#               With fix supplied by George Randall <ger at geophysics.lanl.gov>  2003-02-03
 */


----- Original Message -----
> From: "Fabien Engels" <fabien.engels at unistra.fr>
> To: webservices at iris.washington.edu
> Sent: Wednesday, 24 October, 2012 5:11:12 PM
> Subject: [webservices] Flinn-Engdahl implementation
> 
> Hi,
> 
> I would like to translate this script to Python :
> ftp://hazards.cr.usgs.gov/feregion/fe_1995/feregion.pl
> This is already a Python implementation (though ObsPy) allowing to
> query Iris webservice but it can be slow for a bunch of coordinates
> so
> I would like to resolve coordinate to region locally.
> 
> What is the language used for the webservice implementation ? If it's
> Python, does the code is open ? (To be added to ObsPy)
> 
> Cheers,
> Fabien
> 
> 
> --
> Fabien Engels - fabien.engels at unistra.fr
> Reseau National de Surveillance Sismique
> Ecole et Observatoire des Sciences de la Terre
> 5 Rue Rene Descartes - 67084 Strasbourg France
> Tel: +33(0)3.68.85.00.57
> _______________________________________________
> webservices mailing list
> webservices at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/webservices
> 

-- 
=================================================================================
Anthony Lomax 
161 Allée du Micocoulier, 06370 Mouans-Sartoux, France 
tel: +33 (0)4 93 75 25 02     e-mail: alomax at free.fr   web: http://www.alomax.net 
---------------------------------------------------------------------------------
ALomax Scientific    http://www.alomax.net/alss   
Science & Special Topics   http://www.alomax.net/science   
=================================================================================




More information about the webservices mailing list