-
Notifications
You must be signed in to change notification settings - Fork 29
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
Value Error of conflicting sizes for dimension 'time' and 'distance over ground' #116
Comments
Ah I see, my installation was not "editable" and therefore did not reflect the recent change. Thank you for your help! |
Does it work for you now? Useful to know that applies to other derived quantities.... |
It works perfectly now! Thanks again! |
OK, right now we are doing
but maybe it should just be a strict not equals? Can you change that line in your dev version to |
I tried making that change and I am now met with this error "ValueError: cannot reindex or align along dimension 'time' because the (pandas) index has duplicate values" |
Does the data set have What I think is happening is that you don't have |
I believe the dataset does have sci_m_present_time. I haven't gotten a chance to delve into the times yet but I will be able to, as well as confirm the sci_m_present_time, early next week. |
@joslater sure no rush - you could also share the offending data set. Finally we have occasionally just not processed the first few files because the glider was sitting on the dock anyway or something. |
I haven't been able to find anything out of the ordinary. I can share the dataset with you. How would you like me to share it and would you just like the delayed raw data and cache files? |
Share in whatever way is easiest for you other than email 😀 |
Here is the link to a private OneDrive folder with the data: https://wmedu-my.sharepoint.com/:f:/g/personal/joslater_wm_edu/Erri1Opekx1GmDcjzDssA7oBto1RqKOC0J_bUjfNGZU_JA?email=jklymak%40gmail.com&e=CDj0pG Let me know if this works! |
OK, may take a bit of re-architecting, but I think this is relatively easy to fix. Do you have a yaml file that works for this? |
Awesome! I added a yaml file to the shared folder. Let me know if there's anything else I can do! |
@joslater this seems to get past the first step in your files. Your files seem to have numerous issues with them. You may need to pre-process the initial time series file before moving onto the gridding steps. |
In running the example-slocum scripts using the example data, a value error arises which reads "ValueError: conflicting sizes for dimension 'time': length 3487 on 'distance_over_ground' and length 3489 on {'time': 'time'}." I have not manipulated the example scripts given at all and have the required packages installed. Attached is a screenshot of the terminal after running process_deploymentRealTime.py.
The text was updated successfully, but these errors were encountered: