-
Notifications
You must be signed in to change notification settings - Fork 2
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
Let's get all the changes we've done so far on the main branch. Are we ready? #35
Commits on Sep 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7210ee8 - Browse repository at this point
Copy the full SHA 7210ee8View commit details -
Remove DATA_VERSION conditionals
DATA_VERSION is a constant set to 3, so only one conditional branch is used. To use older versions of the data, use older versions of the code.
Configuration menu - View commit details
-
Copy full SHA for d6425a6 - Browse repository at this point
Copy the full SHA d6425a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 997b547 - Browse repository at this point
Copy the full SHA 997b547View commit details -
Replace relative paths with absolute paths
You no longer have to be in a particular directory to run `update_data.py`.
Configuration menu - View commit details
-
Copy full SHA for 27200b6 - Browse repository at this point
Copy the full SHA 27200b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a68ba - Browse repository at this point
Copy the full SHA 62a68baView commit details -
Configuration menu - View commit details
-
Copy full SHA for c169cc9 - Browse repository at this point
Copy the full SHA c169cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fa1dac - Browse repository at this point
Copy the full SHA 7fa1dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c65836 - Browse repository at this point
Copy the full SHA 0c65836View commit details -
I feel this makes the code more readable. We know what we're using from each module by looking at the import. And module names are not in our code, meaning less mental overhead is required to parse the code.
Configuration menu - View commit details
-
Copy full SHA for db8a21e - Browse repository at this point
Copy the full SHA db8a21eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 163d5c7 - Browse repository at this point
Copy the full SHA 163d5c7View commit details -
Write database to optional external location
I'm aiming for max compatibility with the old code. What made the most sense to me was having a new `database` directory which can be either internal or external. The `data` directory already contains internal stuff, so I felt they should be separated.
Configuration menu - View commit details
-
Copy full SHA for 706a78f - Browse repository at this point
Copy the full SHA 706a78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcda0ad - Browse repository at this point
Copy the full SHA fcda0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51fa2be - Browse repository at this point
Copy the full SHA 51fa2beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 647ff44 - Browse repository at this point
Copy the full SHA 647ff44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b773f - Browse repository at this point
Copy the full SHA 65b773fView commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for baee844 - Browse repository at this point
Copy the full SHA baee844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 014d9f7 - Browse repository at this point
Copy the full SHA 014d9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 037b5f3 - Browse repository at this point
Copy the full SHA 037b5f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c573b - Browse repository at this point
Copy the full SHA 64c573bView commit details
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bb7af78 - Browse repository at this point
Copy the full SHA bb7af78View commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3051567 - Browse repository at this point
Copy the full SHA 3051567View commit details
Commits on Nov 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3d79679 - Browse repository at this point
Copy the full SHA 3d79679View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb8a38 - Browse repository at this point
Copy the full SHA 3fb8a38View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 4744eaf - Browse repository at this point
Copy the full SHA 4744eafView commit details
Commits on Dec 12, 2023
-
Fixing deprecated usages of old numpy dtypes.
Removed references to: - "numpy.int" and "numpy.long" (replaced by "int"), - "numpy.float" (replaced by "float") - "numpy.bool" (replaced by "bool") References to specific type sizes (e.g. "numpy.float32" or "numpy.int16") are not deprecated, and remain in place. Removed the requirement in environmental.yaml to suggest older versions of numpy, for which this deprecated code didn't break things. This code should now be compatible with the latest versions of numpy (as of this commit).
Configuration menu - View commit details
-
Copy full SHA for 50f9fb9 - Browse repository at this point
Copy the full SHA 50f9fb9View commit details
Commits on Dec 13, 2023
-
Minor bug fixes and improved comments.
* generate_antarctica_today_map.py: Fixed small bug (line 1727) that returned the wrong year-number if you generated a map on the very last day of the melt season (April 30). * map_filedata.py: Fixed pointers to basin outline shapefiles, which are in the "basins" sub-directory of the "qgis" folder. * melt_array_picklefile.py: Fixed an incorrect raw-string typing, and expanded the docstring of the _filter_out_erroneous_swaths() function to better explain what that function is doing. * nsidc_download_Tb_data.py: Removed extraneous import statements. Also coded around the time-zone issue in Earthdata to avoid runtime errors, and added code to avoid attempting to download data if no available files were identified. * write_NSIDC_bin_to_gtif.py: Added a call to osr.UseExceptions() to improve forward-compatibility, and avoid constantly seeing a GDAL run-time Warning about that.
Configuration menu - View commit details
-
Copy full SHA for ea0d2ac - Browse repository at this point
Copy the full SHA ea0d2acView commit details
Commits on Dec 14, 2023
-
Updated "update_data.py" to use work with nsidc-0080 v2 data (from v1…
…). Also created new script "generate_plots_for_given_day.py" with a simple CLI to generate plots for any past day in the time-series.
Configuration menu - View commit details
-
Copy full SHA for 2076a10 - Browse repository at this point
Copy the full SHA 2076a10View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb65820 - Browse repository at this point
Copy the full SHA fb65820View commit details -
Added an optional parameter to limit & filter the download of Tb brig…
…htness-temperature data to only within the span of the melt season (Oct 1st thru April 30th) in any given year. This avoids unnecessary downloads of Tb data for which melt is not calculated. (Winter Tb data is used to calibrate the microwave model with thresholds for the following season, but melt is not calculated during the winter months.)
Configuration menu - View commit details
-
Copy full SHA for 2fe965d - Browse repository at this point
Copy the full SHA 2fe965dView commit details -
Ignore .nc and .bin files in the Tb/nsidc-0080 folder. These are to b…
…e downloaded from NSIDC and stored locally only.
Configuration menu - View commit details
-
Copy full SHA for c79cf46 - Browse repository at this point
Copy the full SHA c79cf46View commit details
Commits on Dec 15, 2023
-
Fixed a typo in Region 7 name ("Amundsen Bellinghausen" --> "Amundsen…
… Bellingshausen")
Configuration menu - View commit details
-
Copy full SHA for 1f9c68c - Browse repository at this point
Copy the full SHA 1f9c68cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a39152 - Browse repository at this point
Copy the full SHA 7a39152View commit details -
Fixed runtime bug in previous update to "update_data.py" that was cau…
…sing it to miss needed updates after downloading most-recent Tb data from NSIDC. Also, made the default behavior when "gathering" files into a single daily directory, to use symlinks rather than copyfile() in order to reduce redundant disk usage of plot images.
Configuration menu - View commit details
-
Copy full SHA for 659587f - Browse repository at this point
Copy the full SHA 659587fView commit details
Commits on Dec 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6b911ed - Browse repository at this point
Copy the full SHA 6b911edView commit details -
Quick bug fix (mis-named variable).
Also a call to matplotlib.pyplot.clear('all') to close hanging matplotlib plots between each region iteration.
Configuration menu - View commit details
-
Copy full SHA for aa3edaa - Browse repository at this point
Copy the full SHA aa3edaaView commit details
Commits on Dec 18, 2023
-
Flipped a parameter to *not* make it use symlinks when copying everyt…
…hing into the "daily_gathered_plots" directory. It was meant to save space but caused problems on some platforms when trying to upload the images online.
Configuration menu - View commit details
-
Copy full SHA for 13a7ed8 - Browse repository at this point
Copy the full SHA 13a7ed8View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e21d83 - Browse repository at this point
Copy the full SHA 1e21d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for f069e9a - Browse repository at this point
Copy the full SHA f069e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b417c7 - Browse repository at this point
Copy the full SHA 2b417c7View commit details