Skip to content

Commit

Permalink
changes to allow version fractions and VIIRS
Browse files Browse the repository at this point in the history
allow version 6.1 and 061 to giver snow data uodate
Also, a staret at allowing VIIRS in various parallel notebooks
  • Loading branch information
profLewis committed Jun 28, 2023
1 parent f7a0523 commit a73a049
Show file tree
Hide file tree
Showing 22 changed files with 4,861 additions and 276 deletions.
24 changes: 3 additions & 21 deletions notebooks/001_Notebook_use.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m/var/folders/p6/pjj7dk1j5hq9y5jw_z8qwg0w0000gp/T/ipykernel_93979/758698420.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 18\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0;31m# try to print a variable `third_string` that you haven't yet created\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 20\u001b[0;31m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mthird_string\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;32m/var/folders/p6/pjj7dk1j5hq9y5jw_z8qwg0w0000gp/T/ipykernel_39143/758698420.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 18\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0;31m# try to print a variable `third_string` that you haven't yet created\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 20\u001b[0;31m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mthird_string\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mNameError\u001b[0m: name 'third_string' is not defined"
]
}
Expand Down Expand Up @@ -590,29 +590,11 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {
"solution2": "hidden"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"hello once more\n",
"\n",
"what does that tell you about information we create in one cell and \n",
"try to use in another above?\n",
"\n",
"we can run cells in any order. Once we had created third_string, the \n",
"previous exercise print(third_string) executed as we expected.\n",
"The *Danger* is that the next time we run this notebook in cell order\n",
"the cell above will fail again. Learn from the mistakes we make.\n",
"Remember what this type of error can mean.\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# ANSWER\n",
"# create a code cell below\n",
Expand Down
82 changes: 41 additions & 41 deletions notebooks/002_Unix.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 7.0K 12 Jul 12:18 README.md\n"
"-rw-r--r-- 1 philiplewis staff 7.0K 12 Jul 2022 README.md\n"
]
}
],
Expand Down Expand Up @@ -390,33 +390,33 @@
"output_type": "stream",
"text": [
"/Users/philiplewis/Documents/GitHub/geog0111/notebooks\n",
"-rw-r--r-- 1 philiplewis staff 245B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/NASAaccount0111.py\n",
"-rw-r--r-- 1 philiplewis staff 16B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/README\n",
"-rwxr-xr-x 1 philiplewis staff 1.1K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/build-conda-package\n",
"-rwxr-xr-x 1 philiplewis staff 220B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/build-pypi-package\n",
"-rwxr-xr-x 1 philiplewis staff 1.3K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/clean0111.sh\n",
"lrwxr-xr-x 1 philiplewis staff 7B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/copy -> ../copy\n",
"-rwxr-xr-x 1 philiplewis staff 43B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/database.sh\n",
"-rwxr-xr-x 1 philiplewis staff 217B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/docker-build\n",
"-rwxr-xr-x 1 philiplewis staff 428B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/docker-killall\n",
"-rwxr-xr-x 1 philiplewis staff 1.0K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/docker-run\n",
"-rwxr-xr-x 1 philiplewis staff 534B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/fixA.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.0K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/get-datasets.sh\n",
"-rwxr-xr-x 1 philiplewis staff 569B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/git-remove-all.sh\n",
"-rw-r--r-- 1 philiplewis staff 257B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/howmany.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.2K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/init.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.7K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/init0111.sh\n",
"-rwxr-xr-x 1 philiplewis staff 3.2K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/link-set.sh\n",
"-rwxr-xr-x 1 philiplewis staff 8.0K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/notebook-mkdocs.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.0K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/notebook-run.sh\n",
"-rwxr-xr-x 1 philiplewis staff 1.5K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/postBuild\n",
"-rwxr-xr-x 1 philiplewis staff 44B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/pullYou\n",
"-rwxr-xr-x 1 philiplewis staff 95B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/pushMe\n",
"-rwxr-xr-x 1 philiplewis staff 526B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/set-course.sh\n",
"-rwxr-xr-x 1 philiplewis staff 3.4K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/setup.sh\n",
"-rwxr-xr-x 1 philiplewis staff 754B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/shellMe.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.6K 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/sort-db.sh\n",
"-rwxr-xr-x 1 philiplewis staff 742B 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/bin/tidy.sh\n",
"-rw-r--r-- 1 philiplewis staff 245B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/NASAaccount0111.py\n",
"-rw-r--r-- 1 philiplewis staff 16B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/README\n",
"-rwxr-xr-x 1 philiplewis staff 1.1K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/build-conda-package\n",
"-rwxr-xr-x 1 philiplewis staff 220B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/build-pypi-package\n",
"-rwxr-xr-x 1 philiplewis staff 1.3K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/clean0111.sh\n",
"lrwxr-xr-x 1 philiplewis staff 7B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/copy -> ../copy\n",
"-rwxr-xr-x 1 philiplewis staff 43B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/database.sh\n",
"-rwxr-xr-x 1 philiplewis staff 217B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/docker-build\n",
"-rwxr-xr-x 1 philiplewis staff 428B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/docker-killall\n",
"-rwxr-xr-x 1 philiplewis staff 1.0K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/docker-run\n",
"-rwxr-xr-x 1 philiplewis staff 534B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/fixA.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.0K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/get-datasets.sh\n",
"-rwxr-xr-x 1 philiplewis staff 569B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/git-remove-all.sh\n",
"-rw-r--r-- 1 philiplewis staff 257B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/howmany.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.2K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/init.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.7K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/init0111.sh\n",
"-rwxr-xr-x 1 philiplewis staff 3.2K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/link-set.sh\n",
"-rwxr-xr-x 1 philiplewis staff 8.0K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/notebook-mkdocs.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.0K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/notebook-run.sh\n",
"-rwxr-xr-x 1 philiplewis staff 1.5K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/postBuild\n",
"-rwxr-xr-x 1 philiplewis staff 44B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/pullYou\n",
"-rwxr-xr-x 1 philiplewis staff 95B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/pushMe\n",
"-rwxr-xr-x 1 philiplewis staff 526B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/set-course.sh\n",
"-rwxr-xr-x 1 philiplewis staff 3.4K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/setup.sh\n",
"-rwxr-xr-x 1 philiplewis staff 754B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/shellMe.sh\n",
"-rwxr-xr-x 1 philiplewis staff 2.6K 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/sort-db.sh\n",
"-rwxr-xr-x 1 philiplewis staff 742B 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/bin/tidy.sh\n",
"===============================\n",
"* what do you notice about these?\n",
"===============================\n",
Expand Down Expand Up @@ -492,8 +492,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 7.1K 12 Jul 12:18 ../README.md\n",
"-rwxr-xr-x 1 philiplewis staff 7.1K 12 Jul 12:18 ../README.md\n"
"-rw-r--r-- 1 philiplewis staff 7.1K 12 Jul 2022 ../README.md\n",
"-rwxr-xr-x 1 philiplewis staff 7.1K 12 Jul 2022 ../README.md\n"
]
}
],
Expand Down Expand Up @@ -542,7 +542,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 7201 12 Jul 12:18 /Users/philiplewis/geog0111/notebooks/README.md\n"
"-rw-r--r-- 1 philiplewis staff 7201 12 Jul 2022 /Users/philiplewis/geog0111/notebooks/README.md\n"
]
}
],
Expand All @@ -569,7 +569,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 7279 12 Jul 12:18 ../README.md\n"
"-rw-r--r-- 1 philiplewis staff 7279 12 Jul 2022 ../README.md\n"
]
}
],
Expand Down Expand Up @@ -658,7 +658,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 73B 30 Sep 13:36 work/newererfile.dat\n"
"-rw-r--r-- 1 philiplewis staff 73B 28 Jun 10:51 work/newererfile.dat\n"
]
}
],
Expand Down Expand Up @@ -776,7 +776,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 73 30 Sep 13:36 work/newfile.dat\n"
"-rw-r--r-- 1 philiplewis staff 73 28 Jun 10:51 work/newfile.dat\n"
]
}
],
Expand Down Expand Up @@ -806,7 +806,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rw-r--r-- 1 philiplewis staff 73 30 Sep 13:36 work/newfile.dat\n",
"-rw-r--r-- 1 philiplewis staff 73 28 Jun 10:51 work/newfile.dat\n",
"\n",
"# this will go into the file\n",
"hello world - this is some text in a file\n",
Expand Down Expand Up @@ -870,12 +870,12 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-rwxr-xr-x 1 philiplewis staff 362B 12 Jul 12:18 geog0111/fdict.py\n",
"-rwxr-xr-x 1 philiplewis staff 1.7K 12 Jul 12:18 geog0111/filter_movies.py\n",
"-rwxr-xr-x 1 philiplewis staff 2.2K 12 Jul 12:18 geog0111/fire_practical_model.py\n",
"-rwxr-xr-x 1 philiplewis staff 4.3K 12 Jul 12:18 geog0111/fire_practical_satellite.py\n",
"-rwxr-xr-x 1 philiplewis staff 1.9K 12 Jul 12:18 geog0111/fire_practical_telecon.py\n",
"-rwxr-xr-x 1 philiplewis staff 66B 12 Jul 12:18 geog0111/flatten.py\n"
"-rwxr-xr-x 1 philiplewis staff 362B 12 Jul 2022 geog0111/fdict.py\n",
"-rwxr-xr-x 1 philiplewis staff 1.7K 12 Jul 2022 geog0111/filter_movies.py\n",
"-rwxr-xr-x 1 philiplewis staff 2.2K 12 Jul 2022 geog0111/fire_practical_model.py\n",
"-rwxr-xr-x 1 philiplewis staff 4.3K 12 Jul 2022 geog0111/fire_practical_satellite.py\n",
"-rwxr-xr-x 1 philiplewis staff 1.9K 12 Jul 2022 geog0111/fire_practical_telecon.py\n",
"-rwxr-xr-x 1 philiplewis staff 66B 12 Jul 2022 geog0111/flatten.py\n"
]
}
],
Expand Down
Loading

0 comments on commit a73a049

Please sign in to comment.