[ https://issues.apache.org/jira/browse/CLIMATE-966?focusedWorklogId=291604&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291604 ]
ASF GitHub Bot logged work on CLIMATE-966: ------------------------------------------ Author: ASF GitHub Bot Created on: 08/Aug/19 22:12 Start Date: 08/Aug/19 22:12 Worklog Time Spent: 10m Work Description: agoodm commented on issue #524: CLIMATE-966 - Jupyter Notebook to run cordex.py on AWS URL: https://github.com/apache/climate/pull/524#issuecomment-519706424 It works well. I have made a few modifications to fix download links. First, the last import should be changed to the following: ```python from IPython.display import Markdown, Image, FileLink ``` Then replace the very last cell with: ```python display(Markdown('Evaluation results')) ip_address = (requests.get('http://169.254.169.254/latest/meta-data/public-ipv4').content).decode('utf-8') for obs_info in obs_extractor.data: inst_name = obs_info['instrument'] var_name = obs_info['variable'] display(Markdown('Instrument: '+inst_name+'& Variable: '+var_name)) for season in seasons: savedir = os.path.join('evaluation_result', domain, inst_name, var_name, season) png_files = glob(os.path.join(savedir, '*.png')) for png_file in png_files: display(Image(png_file)) nc_file = glob(os.path.join(savedir, '*.nc'))[0] display(FileLink(nc_file)) os.chdir(cwd) ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 291604) Time Spent: 0.5h (was: 20m) > Jupyter Notebook to run cordex.py on AWS > ----------------------------------------- > > Key: CLIMATE-966 > URL: https://issues.apache.org/jira/browse/CLIMATE-966 > Project: Apache Open Climate Workbench > Issue Type: New Feature > Components: examples > Affects Versions: 1.3.0 > Reporter: Huikyo Lee > Assignee: Huikyo Lee > Priority: Major > Fix For: 1.4.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > CORDEX.ipynb is an IPython version of RCMES/CORDEX/cordex.py to perform > CORDEX model evaluation on AWS. -- This message was sent by Atlassian JIRA (v7.6.14#76016)