-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scion fluorescence #7
Comments
Issy! 😃 Can you give the full error please. Very hard to solve these issues without the full callback. use the 'insert code' feature to add the callback so that it is readable |
Here is the error:
The error lies in the dimension name, which doesn't have a corresponding time variable under the same dimension. Just for chl I downloaded the data separately and interpolated onto the ctd_data_point time sampling using the following method: `def mergechl(datadir):
chl = mergechl(datadir) names = [ ds_dict = gt.load.seaglider_basestation_netCDFs(os.path.join(datadir,filenames), names, return_merged=False, keep_global_attrs=False) dat2 = ds_dict['wlbb2fl_data_point'] interp chl to rest of datapointschlInt=np.interp(dat.time_raw,dat2.wlbb2fl_time,chl)` |
@isgiddy Do you think there would be a way of implementing your solution in the code? Or would it be better to add this as an example in the documentation? |
Describe the bug
Issue with dimensions when loading fluorescence data
dimension name = scicon_wlbb2fl_wlbb2fl_data_point
To Reproduce
Try load the data:
names = [
'wlbb2fl_FL2sig', # Fluorescence
'wlbb2fl_time'
]
ds_dict = gt.load.seaglider_basestation_netCDFs(os.path.join(datadir,filenames), names, return_merged=True, keep_global_attrs=False)
Expected behavior
Load as per other variables.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: