-
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
Version 2 #40
base: main
Are you sure you want to change the base?
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 -
Configuration menu - View commit details
-
Copy full SHA for 40bb97d - Browse repository at this point
Copy the full SHA 40bb97dView 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
-
Merge pull request #16 from nsidc/operationalize-db-generation
[WIP] Operationalize pickle "database" creation and update
Configuration menu - View commit details
-
Copy full SHA for 2040671 - Browse repository at this point
Copy the full SHA 2040671View commit details -
Update antarctica_today/generate_daily_melt_file.py
Co-authored-by: Matt Fisher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9384b0 - Browse repository at this point
Copy the full SHA a9384b0View commit details -
Co-authored-by: Matt Fisher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 687b25c - Browse repository at this point
Copy the full SHA 687b25cView commit details -
Merge pull request #28 from nsidc/fix_0080-netcdf_nans
Fixed nan assertion failures
Configuration menu - View commit details
-
Copy full SHA for 165ee6c - Browse repository at this point
Copy the full SHA 165ee6cView commit details -
Merge pull request #24 from nsidc/0080-netcdf
NSIDC-0080 v2 netcdf input files
Configuration menu - View commit details
-
Copy full SHA for 6c11da0 - Browse repository at this point
Copy the full SHA 6c11da0View commit details -
Merge pull request #29 from nsidc/fix_numpy_dtype_deprecation_errors
Fix numpy dtype deprecation errors
Configuration menu - View commit details
-
Copy full SHA for 5d9d1c7 - Browse repository at this point
Copy the full SHA 5d9d1c7View commit details -
Merge pull request #31 from nsidc/improve_data_updates_and_plot_gener…
…ation Improve data updates and plot generation
Configuration menu - View commit details
-
Copy full SHA for 3213788 - Browse repository at this point
Copy the full SHA 3213788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55eef90 - Browse repository at this point
Copy the full SHA 55eef90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98206bf - Browse repository at this point
Copy the full SHA 98206bfView commit details -
Merge pull request #38 from nsidc/ci-workflow
Add CI workflow (type check)
Configuration menu - View commit details
-
Copy full SHA for 5db2179 - Browse repository at this point
Copy the full SHA 5db2179View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606ee5e - Browse repository at this point
Copy the full SHA 606ee5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d5fa9 - Browse repository at this point
Copy the full SHA 72d5fa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b30f1f5 - Browse repository at this point
Copy the full SHA b30f1f5View 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 9b6fada - Browse repository at this point
Copy the full SHA 9b6fadaView commit details -
Merge pull request #39 from nsidc/lint
Fix linting and type checking errors
Configuration menu - View commit details
-
Copy full SHA for 4c4eb58 - Browse repository at this point
Copy the full SHA 4c4eb58View commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5a66795 - Browse repository at this point
Copy the full SHA 5a66795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18d651a - Browse repository at this point
Copy the full SHA 18d651aView commit details -
Restore prior function interface
Use a different type narrowing approach
Configuration menu - View commit details
-
Copy full SHA for fcfad5d - Browse repository at this point
Copy the full SHA fcfad5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ce8068 - Browse repository at this point
Copy the full SHA 6ce8068View commit details -
Merge pull request #44 from nsidc/typing-enhancements
Typing enhancements
Configuration menu - View commit details
-
Copy full SHA for 0c6f7e3 - Browse repository at this point
Copy the full SHA 0c6f7e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5bea4a - Browse repository at this point
Copy the full SHA c5bea4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35539fb - Browse repository at this point
Copy the full SHA 35539fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e79eec8 - Browse repository at this point
Copy the full SHA e79eec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e33dc - Browse repository at this point
Copy the full SHA 84e33dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1972323 - Browse repository at this point
Copy the full SHA 1972323View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4cb83e - Browse repository at this point
Copy the full SHA e4cb83eView commit details -
Configuration menu - View commit details
-
Copy full SHA for beec098 - Browse repository at this point
Copy the full SHA beec098View commit details -
Configuration menu - View commit details
-
Copy full SHA for f48122b - Browse repository at this point
Copy the full SHA f48122bView commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e52b30 - Browse repository at this point
Copy the full SHA 5e52b30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32264c7 - Browse repository at this point
Copy the full SHA 32264c7View commit details -
Merge pull request #46 from nsidc/operations
Simplify operations and ops docs
Configuration menu - View commit details
-
Copy full SHA for 47d87ca - Browse repository at this point
Copy the full SHA 47d87caView commit details -
Merge pull request #47 from nsidc/no-print
Replace print calls with logging
Configuration menu - View commit details
-
Copy full SHA for 4df6c02 - Browse repository at this point
Copy the full SHA 4df6c02View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eea3a51 - Browse repository at this point
Copy the full SHA eea3a51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2784faf - Browse repository at this point
Copy the full SHA 2784fafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e549c0 - Browse repository at this point
Copy the full SHA 7e549c0View commit details -
Merge pull request #49 from nsidc/docker
Dockerize & continuously deliver docker images
Configuration menu - View commit details
-
Copy full SHA for 579e3c0 - Browse repository at this point
Copy the full SHA 579e3c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b120fe2 - Browse repository at this point
Copy the full SHA b120fe2View commit details -
Merge pull request #50 from nsidc/open-with-context-manager
Use context managers to open files
Configuration menu - View commit details
-
Copy full SHA for bf75dc2 - Browse repository at this point
Copy the full SHA bf75dc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebd04e5 - Browse repository at this point
Copy the full SHA ebd04e5View commit details -
Merge pull request #51 from nsidc/dev-compose
Compose configuration for development
Configuration menu - View commit details
-
Copy full SHA for bc8492c - Browse repository at this point
Copy the full SHA bc8492cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 088ec25 - Browse repository at this point
Copy the full SHA 088ec25View commit details -
Configuration menu - View commit details
-
Copy full SHA for e872a4a - Browse repository at this point
Copy the full SHA e872a4aView commit details -
Merge pull request #52 from nsidc/simplify-cli-and-ops-instructions
Simplify cli and ops instructions
Configuration menu - View commit details
-
Copy full SHA for 22a1fa1 - Browse repository at this point
Copy the full SHA 22a1fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a90253f - Browse repository at this point
Copy the full SHA a90253fView commit details