Add qartod and config#48
Conversation
|
I added qartod.py inside the esdglider folder, and I added qartod-config.yml in esdglider/data. Also, I messed up my branch name because I've been working with Quarto a lot, so the branch should've been qartod-module, but instead I accidentally named it quarto-module. |
There was a problem hiding this comment.
Please remove this file from the pr
| # to prevent file-locking issues during | ||
| # subsequent processing and output writing. | ||
|
|
||
| ds = xr.open_dataset(input_file) |
There was a problem hiding this comment.
I use xr.load_dataset(input_file) rather than these three lines
There was a problem hiding this comment.
Ya that's a better approach, I'll update it.
|
Hi Madi - thanks for this! I've put some comments inline. A couple general ones, happy to discuss any of these: For log messages, please use the syntax For me, having extra blank lines, eg between function calls makes the code less easily readable (example below). For esdglider, I'd like to stick to the principles of a) generally keeping code on one line is the line length is <80, and b) not having extra blank lines between lines in the same function. |
|
Hi Sam, I'll make sure to fix all of these! |
Do you want me to remove the comments in the code (example below)? EVALUATE ALL DATA VARIABLES |
|
No, I think the comments are overall good, although I typically don't like them over logs because (unless it's really complicated) I think the log should be self-explanatory. I would format that block something like: Thanks! |
|
I updated everything based on your comments. If there's anything else, please let me know! |
|
Thank you! This is looking good. I'll try out the fork tomorrow. One other ask - could you add a notebook (to the 'notebooks' folder) that shows a representative example or two of using this functionality? |
No description provided.