using NRL to add station response without datalogger information?

Hi there,

I am hoping to add sensor information to new stations, and the get_response_ function requires the datalogger information with their associated voltages, though I unfortunately don’t have the datalogger voltage.

Can the metadata file be compiled to include the sensor information without the datalogger information, or is there a way to figure out the associated voltage?

Thank you in advance for your help!

You could do that, getting just the response for the sensor, e.g. like

response = nrl.get_sensor_response(sensor_keys=['Nanometrics', 'TrilliumCompact120', '754'])

However this will then obviously not be the full response of your recording system, is implicitly assuming a digitizer with unity gain and flat response and unless that is the case (which in all likelihood it won’t) and you will very likely get wrong results using the so created metadata in instrument correction.

You could also combine it with the generic unity gain datalogger to make a full response and then you could adjust the gain and recalculate the overall sensitivity accordingly (and also might have to fix sampling rates and some other things in the generic unity response stages), but well you would need the digitizer gain which you said you don’t have.

response = nrl.get_response(
    sensor_keys=['Nanometrics', 'TrilliumCompact120', '754'],
    datalogger_keys=['GenericUnity', 'UnityDatalogger'])
response.response_stages[1].stage_gain = my_datalogger_gain  # obviously need to make sure to pick the right response stage here
my_datalogger_gain = 1234
response.recalculate_overall_sensitivity()