-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature 213 db load instructions #214
Conversation
…ld enclose the db name
@bikegeek I added a Status and Cycle under "Projects" and also linked with the issue under "Development". I will start reviewing soon. |
@bikegeek
When I run into an error:
I realized that Python was pointing to Python 2:
so I tried running with Python 3, but then I get a different error:
Can you please send the path to the version of Python you used on mohawk for testing? Thanks! |
Here is the yaml env file: name: metdataio_310
|
Thanks @bikegeek. What version of Python did you use on mohawk for testing? |
Actually, I don't mean to ask what version, but rather can you please send the path to the Python that you used? |
Python 3.10
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Research Applications Lab
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
…On Tue, Jul 25, 2023 at 10:12 AM jprestop ***@***.***> wrote:
Thanks @bikegeek <https://github.com/bikegeek>. What version of Python
did you use on mohawk for testing?
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4UJHWM7CN6J4CUK4R7MW3XR7V55ANCNFSM6AAAAAA2V7UFKM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
/d2/personal/mwin/miniconda3/envs/metdataio_310/bin/python
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Research Applications Lab
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
…On Tue, Jul 25, 2023 at 10:12 AM jprestop ***@***.***> wrote:
Actually, I don't mean to ask what version, but rather can you please send
the path to the Python that you used?
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4UJHXDWRF4FKBJS77MLR3XR7WAFANCNFSM6AAAAAA2V7UFKM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks @bikegeek, the path is just what I needed! When running this part of the instructions:
I get an error:
I'm not sure what I need to do - apologies. |
my apologies, I cleaned up the database, I re-created it and loaded the schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bikegeek, I verified that the formatting and instructions are correct in the documentation to the best of my knowledge. As someone who as very little knowledge of this work, the instructions were easy to follow. Thank you.
I am wondering if it would be helpful to have the error I received:
ERROR:root:*** (1049, "Unknown database 'mv_test'") in run_sql ***
*** Error when connecting to database
in the Troubleshooting section? I defer to your judgement on that, as you will know best. In either case, I approve this request. Thank you for all of your work in putting all of this together! I think it will be very helpful!
Thanks for the suggestion, I added that error to the troubleshooting table. I kept the original format of the table, as all attempts to modify the table to make Error and Solution into separate columns made the text difficult to read: |
@bikegeek I think it looks great! |
Pull Request Testing
Describe testing already performed for these changes:
Verified scripts and configuration files work on 'mohawk'
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Verify that formatting and instructions are correct in the documentation:
https://metdataio.readthedocs.io/en/feature_213_db_load_instructions/Users_Guide/load_data.html#
Used this YAML config file for 'mohawk' and data in /scratch/mwin (remove the .txt extension before using)
mohawk_data_loading_config.yaml.txt
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes ]
Do these changes include sufficient testing updates? [NA]
Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:
Please complete this pull request review by Before coordinated release.
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes