Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
agoodm's suggested changes have been accepted
  • Loading branch information
huikyole committed Aug 9, 2019
1 parent 40dd07f commit d943a723853c1d65197d46394472a736d8a432ca
Showing 1 changed file with 7 additions and 7 deletions.
@@ -14,7 +14,7 @@
"from metadata_extractor import CORDEXMetadataExtractor, obs4MIPSMetadataExtractor\n",
"from tqdm import tqdm_notebook as tqdm\n",
"from glob import glob\n",
"from IPython.display import Markdown, Image"
"from IPython.display import Markdown, Image, FileLink"
]
},
{
@@ -132,13 +132,13 @@
" var_name = obs_info['variable']\n",
" display(Markdown('Instrument: '+inst_name+'& Variable: '+var_name))\n",
" for season in seasons:\n",
" os.chdir(workdir+'/'+domain+'/'+inst_name+'/'+var_name+'/'+season)\n",
" png_files = glob('*.png')\n",
" savedir = os.path.join('evaluation_result', domain, inst_name, var_name, season)\n",
" png_files = glob(os.path.join(savedir, '*.png'))\n",
" for png_file in png_files: \n",
" display(Image(os.getcwd()+'/'+png_file))\n",
" nc_file = glob('*.nc')[0]\n",
" display(Markdown('['+nc_file+'](http://'+ip_address+':8888'+os.getcwd()+'/'+nc_file+')'))\n",
"os.chdir(cwd) \n"
" display(Image(png_file))\n",
" nc_file = glob(os.path.join(savedir, '*.nc'))[0]\n",
" display(FileLink(nc_file))\n",
"os.chdir(cwd) \n"
]
}
],

0 comments on commit d943a72

Please sign in to comment.