9292 "\n",
9393 "if Use_Staged_Data:\n",
9494 " # Check if a stage file from S3 already exist, if not try and download it\n",
95- " f = 'ariaExtract .zip'\n",
95+ " f = 'ariaTSsetup .zip'\n",
9696 " if not os.path.isfile(f):\n",
9797 " print('\\nAttempting to download staged data ... ')\n",
9898 " try:\n",
146146 "execution_count": null,
147147 "source": [
148148 "# create .topoapi if it does not exist \n",
149- "if not os.path.exists('~/.topoapi'):\n",
149+ "if not os.path.exists(os.path.expanduser( '~/.topoapi') ):\n",
150150 " print('API key location: My Account > myOpenTopo Authorizations and API Key > Request API key')\n",
151151 " opentopography_api_key = input('Please type your OpenTopo API key:')\n",
152152 " opentopography_api_key = str(opentopography_api_key)\n",
329329 "execution_count": null,
330330 "source": [
331331 "# create .netrc if it does not exist \n",
332- "if not os.path.exists('~/.netrc'):\n",
332+ "if not os.path.exists(os.path.expanduser( '~/.netrc') ):\n",
333333 " print('NEEDED To Download ARIA GUNWs: \\n Link to create account : https://urs.earthdata.nasa.gov/')\n",
334334 " earthdata_user = input('Please type your Earthdata username:')\n",
335335 " earthdata_user = str(earthdata_user)\n",
27992799 },
28002800 "nbformat": 4,
28012801 "nbformat_minor": 2
2802- }
2802+ }
0 commit comments