cal-adapt / climakitae

A Python toolkit for retrieving, visualizing, and performing scientific analyses with data from the Cal-Adapt Analytics Engine.
https://climakitae.readthedocs.io
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

Cleaning up WL Generation #324

Closed claalmve closed 9 months ago

claalmve commented 9 months ago

Description of PR

Summary of changes and related issue This PR cleans up the generation code in generate_gwl_tables.py by combining the 1850-1900 and 1981-2010 file generation time periods together, as well as handles the UserWarning of subsettings across different dataframes. It additionally is run correctly so that the generated ref and ref_timeidx files are correct.

Relevant motivation and context Code cleanup and generating the proper csv's for other tools to use.

Dependencies required for this change? None

Fixes # (issue), delete if not necessary None

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. No tests, this is just a script.

Checklist: