watex.utils.geotools.assert_station#

watex.utils.geotools.assert_station(id, nm=None)[source]#

Assert station according to the number of stations investigated.

Parameters
  • id – int or str, station number. The station counter start from 01 as litteral count except whn provided value in string format following the letter S. For instance : S00 =1

  • nm – matrix of new stratiraphy model built.

Returns

Index at specific station

Example
>>> import watex.utils.geotools as GU
>>> import watex.geology.core as GC
>>> obj= GC.quick_read_geomodel()
>>> GU.assert_station(id=47, nm=geoObj.nmSites)
...46