You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have been trying to run the example notebooks with my own data. I have come across an error when attempting to run the first Monte Carlo simulation in notebook 2a cell #12. The error presented is the following:
"ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required by LinearRegression."
Upon further inspection into the "pa" dataset of own data and the example with la-houte-bourne, I noticed that my Merra reanalysis is missing 3 rows (u_850, v_850, temp_850). I am thinking this might be the cause or the error, but I am confused as to why those arrays of my csv file were not picked up by the reanalysis as I formatted them same as the example data. I will continue working at this, but in the meantime do you have any thoughts or suggestions for either csv formatting specifics or other ways to add those arrays to the reanalysis.
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Have you mapped your own MERRA2 fields correctly in your metadata YAML configuration to ensure your data is mapped correctly to our internal specifications? Here's the La Haute Borne setup just in case. Without seeing any other setup of yours this is the only thing I can think of.
If the above is already handled, could you provide more diagnostic information, such as your MERRA2 column names and metadata inputs?
Thank you for your help!
It turns out there was a few missing points within my Merra2 Data that were str values. Once I changed those values to zero those three columns I mentioned above were recognized.
Although all of the Merra2 data is present now, I am still given the same error message with the linear regression model. I went ahead and attempted to run the other three Monte Carlo AEP analysis setups and they work fine. Any idea as to why just the linear regression would not be working?
I'm glad to hear that much of the issue is resolved! Without being able to see traceback or example it's hard to say what could be causing the issue. If you could provide more information, then I could help you diagnose this further.
Hello,
I have been trying to run the example notebooks with my own data. I have come across an error when attempting to run the first Monte Carlo simulation in notebook 2a cell #12. The error presented is the following:
"ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required by LinearRegression."
Upon further inspection into the "pa" dataset of own data and the example with la-houte-bourne, I noticed that my Merra reanalysis is missing 3 rows (u_850, v_850, temp_850). I am thinking this might be the cause or the error, but I am confused as to why those arrays of my csv file were not picked up by the reanalysis as I formatted them same as the example data. I will continue working at this, but in the meantime do you have any thoughts or suggestions for either csv formatting specifics or other ways to add those arrays to the reanalysis.
Thank you for your help!
The text was updated successfully, but these errors were encountered: