Adding Sensor description to Channel inventory


Does anyone know how to add a sensor description to a Channel when creating a stationXML?

I tried the following:

from import Channel
chan = Channel(code=chan, location_code=locID, latitude=lat, longitude=lon, sensor=sensor)

It does not seem to work.


Coralie, we’d need a full error traceback to be able to tell whats wrong…is ensor of Equipment type? Or maybe something else wrong with your call?