Skip to content
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

Quick fixes #64

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions methods/secular/Secular_Requirement_Validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,9 @@
},
"outputs": [],
"source": [
"config_file = os.path.join(mintpy_dir,site + '.cfg')\n",
"config_file = os.path.join(mintpy_dir, sitedata['sites'][site]['calval_location'] + '.cfg')\n",
"command = 'smallbaselineApp.py ' + str(config_file) + ' --dostep modify_network'\n",
"process = subprocess.run(command, shell=True)\n",
"\n",
"plot_network.main(['inputs/ifgramStack.h5'])"
]
},
Expand Down
31 changes: 0 additions & 31 deletions prep/ARIA_prep.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"- [1.2. Crop Interferograms](#prep_crop_ifg)\n",
"- [1.3. Set Up MintPy Configuration file](#prep_setup_config)\n",
"- [1.4. Load Data into MintPy](#prep_load_data)\n",
"- [1.5. Clean Up](#prep_clean_up)\n",
"\n",
"<hr/>"
]
Expand Down Expand Up @@ -450,36 +449,6 @@
"print('Mintpy input files:')\n",
"[x for x in os.listdir('inputs') if x.endswith('.h5')]"
]
},
{
"cell_type": "markdown",
"id": "7401afd1-f04e-4c25-b1aa-e78ab871dd1f",
"metadata": {},
"source": [
"### 1.5. Clean up <a id='prep_clean_up'></a>\n",
"\n",
"Remove downloaded files if desired"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b5bb17d4-9f68-4721-b91d-36ef4fca2bda",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"print('Now that you have successfully created the MintPy data cube, you may want to clean up the downloaded products')\n",
"cleanup = input('Please type \"Yes\" if you want to delete the files in the \"products\" directory:')\n",
"if cleanup == \"Yes\" or cleanup == \"YES\" or cleanup == \"yes\":\n",
" import shutil\n",
" shutil.rmtree(gunw_dir)\n",
"elif cleanup == \"No\" or cleanup == \"NO\" or cleanup == \"no\":\n",
" print('Keeping your downloaded files')\n",
"else: \n",
" print('ERROR: Please try again. Type \"Yes\" or \"No\"')"
]
}
],
"metadata": {
Expand Down
Loading