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

Bnb/dh refactor #220

Open
wants to merge 365 commits into
base: main
Choose a base branch
from
Open

Bnb/dh refactor #220

wants to merge 365 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 23, 2024

  1. conditional batch handlers all updated with validation queues. Moved …

    …handlers to factory. Tests passing
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    94ed9d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    219f7d5 View commit details
    Browse the repository at this point in the history
  3. Using attribute look ups to generate kwargs for exo handlers rather t…

    …han manual dict creation
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    bb16cac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8dd65bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e7fff73 View commit details
    Browse the repository at this point in the history
  6. removed agg factors from exo extracters and exo data handler. these w…

    …erent being used anymore after changing spatial agg to use mean over overlapping gids. Dont need exo_resolution input resolution input anymore either.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    11a42c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2a149b6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    717df31 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5c3e375 View commit details
    Browse the repository at this point in the history
  10. sample count testing for base batch handlers and advanced count testi…

    …ng for dc handlers. old doc string clean up and some simplifying combinations in batch qeue.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c3c1312 View commit details
    Browse the repository at this point in the history
  11. dc model traininng test updates

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    9b143a4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4659142 View commit details
    Browse the repository at this point in the history
  13. removed plotting methods used only for conditional tests. removed old…

    … kwargs from bias and qa
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    55e7e7a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    430f4a3 View commit details
    Browse the repository at this point in the history
  15. linting and bc test updates

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    78f7c54 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d28473b View commit details
    Browse the repository at this point in the history
  17. missed type hint

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2e94f2e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f1e430e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    303da0e View commit details
    Browse the repository at this point in the history
  20. era dl tests added.

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b3651ed View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2d84896 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    4c39c68 View commit details
    Browse the repository at this point in the history
  23. added mask for regridder to use single site if within min distance. u…

    …pdates to dc exo training tests
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8a4d730 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    0db46cd View commit details
    Browse the repository at this point in the history
  25. moved DataRetrievalBase to bias.base. Added new class __repr__ in fac…

    …tory meta class. moved bias correct from ForwardPass, done for each chunk, to ForwardPassStrategy init.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    3ccb237 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    30c763f View commit details
    Browse the repository at this point in the history
  27. test added for solar multi step gan with exo data. this covers the `E…

    …xoData.split` method.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    7fd0607 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6a51cbb View commit details
    Browse the repository at this point in the history
  29. add log interp to Interpolator so era data can be loaded with a han…

    …dler which invoked log interp. Thus the log interp methods from era_downloader can be removed and LogLinInterpolator can also be removed.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    7289b40 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b2cdfa9 View commit details
    Browse the repository at this point in the history
  31. _compute_if_dask and _compute_chunks_if_dask wrapper methods to handl…

    …e dask vs numpy arrays
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c96dc79 View commit details
    Browse the repository at this point in the history
  32. linting

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    e5265a2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    4fd32de View commit details
    Browse the repository at this point in the history
  34. test train dual test updates with separate validation queue. removed …

    …old Feature class since we now have `parse_feature` method.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c38c3e3 View commit details
    Browse the repository at this point in the history
  35. linting

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    abc6614 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    babe2dd View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    fd86c9b View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    e732105 View commit details
    Browse the repository at this point in the history
  39. appeasing < 3.11

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ca15e3f View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    4757e1e View commit details
    Browse the repository at this point in the history
  41. Union instead of | for < 3.10

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    48363d8 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    b039236 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    1b76299 View commit details
    Browse the repository at this point in the history
  44. sample_counter test fix

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    02e76c4 View commit details
    Browse the repository at this point in the history
  45. moved some kwargs to input_handler_kwargs for ExoExtracter and ExoDat…

    …aHandler, following common signature
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    e98d10a View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    a21a42b View commit details
    Browse the repository at this point in the history
  47. additional stats test

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    35a065f View commit details
    Browse the repository at this point in the history
  48. dc training test updates

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4355475 View commit details
    Browse the repository at this point in the history
  49. linting

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a417a06 View commit details
    Browse the repository at this point in the history
  50. broke up file_handling in writer directory. direct data handler which…

    … returns type specific handler based on file type
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    f65c3e9 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    66ca67a View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    a1a0034 View commit details
    Browse the repository at this point in the history
  53. hadnt added batch_handler.stop() in Sup3rCondMom.train(). Could b…

    …e why the hanging tests.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    65619e1 View commit details
    Browse the repository at this point in the history
  54. linting: implicit string concat

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    0111f79 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    368d2bd View commit details
    Browse the repository at this point in the history
  56. duplicate logger get removed. moved get_exo_chunk to `ExoData.get_c…

    …hunk` instance method
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    01f46b2 View commit details
    Browse the repository at this point in the history
  57. type agnostic data handlers, loaders, and topo extracters. can remove…

    … input type check in fwp and exo handler name arg in exo data handler.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d7309c9 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    662b742 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    1746967 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    f37d992 View commit details
    Browse the repository at this point in the history
  61. spellchecks

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    69ec57e View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    021b8f4 View commit details
    Browse the repository at this point in the history
  63. pytest-env test dep for global env vars during testing. global pytest…

    … vars in pytest_config fixture. used these vars to clean up tests. lin_bc added to bias cli test.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    73dbbc3 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    b2f8cc3 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    a68193d View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    dd09592 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    0178d32 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    431a93f View commit details
    Browse the repository at this point in the history
  69. some upper -> lower case changes to just reduce some local warnings. …

    …added pytest.warns() catches for some intentional checks.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    bc6dc6b View commit details
    Browse the repository at this point in the history
  70. fix: deriver caching test

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d8b8f9f View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    32ef4de View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    7e53679 View commit details
    Browse the repository at this point in the history
  73. removed duplicate arg

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6532057 View commit details
    Browse the repository at this point in the history
  74. fix: missing doc string

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    605b6d6 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    9657848 View commit details
    Browse the repository at this point in the history
  76. linting

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    37d98e9 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    af3f6f3 View commit details
    Browse the repository at this point in the history
  78. safe_serialize method for handling objects like datetimeindex in json…

    ….dumps. fwp with bc in cli test. updated nc output.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    9033b47 View commit details
    Browse the repository at this point in the history
  79. need to pass time_index to bias_transforms as list bc it gets convert…

    …ed to string with ellipsis as a datetimeindex for the command string when time index is long.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d56a0ed View commit details
    Browse the repository at this point in the history
  80. lower casing in docs

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4660b5e View commit details
    Browse the repository at this point in the history
  81. fixed n_chunk calc in tests

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    f2986f1 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    dea1b60 View commit details
    Browse the repository at this point in the history
  83. swapping out time_index arg for date_range_kwargs. Time indices can b…

    …e too long to pass through cli and are non serializable.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    eb7dc4a View commit details
    Browse the repository at this point in the history
  84. need string rep of timestamp

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    22ebb83 View commit details
    Browse the repository at this point in the history
  85. some fwp strat init cleaning

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8d33713 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    7c5cb36 View commit details
    Browse the repository at this point in the history
  87. yml linting?

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    cc67308 View commit details
    Browse the repository at this point in the history
  88. refact: removed getattr -> fwp strat in fwp, removed output handler a…

    …rg - can be defined right before writing.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b8e1f92 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    e5c7221 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    2df1c0e View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    d27dca4 View commit details
    Browse the repository at this point in the history
  92. refact: removed uneeded attrs in ForwardPass

    feat: default fwp_chunk_shape for None input
    fix: moved get chunk to after check for exisitng output file.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c6503ae View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    ac3f176 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    3721cde View commit details
    Browse the repository at this point in the history
  95. refact: cleaned up fwp strategy init and setup skip of some init rout…

    …ines when running on a head_node
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4d0fc4d View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    5b4ba1f View commit details
    Browse the repository at this point in the history
  97. refact: _parse_time_slice

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2651f55 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    6ab0873 View commit details
    Browse the repository at this point in the history
  99. adds: repeat topo over time to be consistently 3d across features.

    fix: use low res to compute means / stds if features are lr only.
    fix: ensure correct feature order and feature divisions for dual samplers.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    3f7d7c3 View commit details
    Browse the repository at this point in the history
  100. refact: simplifying stats compute methods.

    test: added full domain loading for rasterized h5 file
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    28ee2f0 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    d435804 View commit details
    Browse the repository at this point in the history
  102. fix: lower exo feature names

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    45383f6 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    10dc3af View commit details
    Browse the repository at this point in the history
  104. fix: pr test actions

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    e6132b7 View commit details
    Browse the repository at this point in the history
  105. stupid gh actions

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    31ea00f View commit details
    Browse the repository at this point in the history
  106. added sample method to quickly access data for batching. updated fr…

    …om legacy np.random
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    1d0bada View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    eb68749 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    60e48f9 View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    3d4a027 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    dd6a0ee View commit details
    Browse the repository at this point in the history
  111. removed default device from model load (now included in params). some…

    … micro opts in loaders
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    41b9cb1 View commit details
    Browse the repository at this point in the history
  112. some linting clean up

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ffb4d5c View commit details
    Browse the repository at this point in the history
  113. cyclic import fix

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    53069e4 View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    ef76b6e View commit details
    Browse the repository at this point in the history
  115. linting

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8fc0600 View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    fbe8e86 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    6be9677 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    7c9b991 View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    a58d720 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    b1b5bf5 View commit details
    Browse the repository at this point in the history
  121. pickle doesnt like un-computed mask from argmin. added compute call. …

    …fixed cacher dims parsing
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d3dd59b View commit details
    Browse the repository at this point in the history
  122. enforcing same rng state across all tests. some logging added to era …

    …downloader and type conversion to np.float32.
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    43fb3b3 View commit details
    Browse the repository at this point in the history
  123. dont need legacy np.random call

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b9e65f4 View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    bf21ea6 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    a1624b6 View commit details
    Browse the repository at this point in the history
  126. stats args removed from batch queue. this is now handled just by stat…

    …s collection and batch handler init
    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    76b95c4 View commit details
    Browse the repository at this point in the history
  127. normalization fixes

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    88819d6 View commit details
    Browse the repository at this point in the history
  128. rebase fixes on presrat

    bnb32 committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    744939c View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. methods in bias transforms currently need eager loading for some arra…

    …ys, which slows down the fwp.
    bnb32 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    6c7e3cd View commit details
    Browse the repository at this point in the history
  2. enabled loading of bc factor files with Extracter class. currently co…

    …mputing param arrays passed to QDM() bc rex asserts that these are ndarrays and doesnt allow for da.core.Array types.
    bnb32 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    e48cc9d View commit details
    Browse the repository at this point in the history
  3. get source type hdf -> h5

    bnb32 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    9fc1e15 View commit details
    Browse the repository at this point in the history
  4. unused fixture in qdm tests. date_range_kwargs in presat tests. datas…

    …et checks in h5 loading
    bnb32 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    9b250fb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f38133c View commit details
    Browse the repository at this point in the history
  6. test fixes

    bnb32 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    0fa79aa View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. moved bias correction to init_chunk instead of performing on full d…

    …ata volume prior to node kick off.
    bnb32 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    51802a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. changed samplers to sample batches using adjacent time slices which a…

    …re then reshaped into n_obs. This is more efficient than building batches from indendent samples. This adds batch_size are an argument to sampler objects. This also allows us to remove lots of the previous batch building methods, like those using tf.data.Dataset
    bnb32 committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    68358c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54f1828 View commit details
    Browse the repository at this point in the history
  3. reducing loading mem by casting elevation to dask array. moved duplic…

    …ate collect test code to conftest
    bnb32 committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    6df02bf View commit details
    Browse the repository at this point in the history
  4. slight change with cdapi update

    bnb32 committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    a499420 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. moved loader name maps and Dimension class to names.py. accounted for…

    … level rename in cdsapi
    bnb32 committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    3256c64 View commit details
    Browse the repository at this point in the history
  2. more efficient era downloader writing. incremental stats - will load …

    …all available from dict and add if needed. cache loading for data handlers.
    bnb32 committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    0dc8928 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Bump rex req

    ppinchuk committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    6120a31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fcd406 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f552ddb View commit details
    Browse the repository at this point in the history
  4. Update import

    ppinchuk committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    0d0dda2 View commit details
    Browse the repository at this point in the history
  5. Remove unused import

    ppinchuk committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e1b8f87 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #228 from NREL/pp/rex_regridder

    Use `rex Regridder` port
    ppinchuk committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    c72c817 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. np.asarray replacement for _compute_if_dask in most places. added fwp…

    … test with cache data loading. DualSamplerCC test fix.
    bnb32 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    43e6242 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d51d887 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. -rename: extracter -> rasterizer

    -T_Dataset type removed.
    -Exo datahandler stuff moved to data_handlers/exo
    -typeagnostic rasterizer, loader, datahandler favored as base objects intead of type specific ones.
    -more explicit with args / kwargs in composite objects.
    -signature tests added for composite objects: data handler / batch handlers and https://github.com/NREL/gaps used to correctly resolve composite signatures and composite doc strings. thanks @ppinchuk! - docs branch built and checked.
    -cleaned up some sphinx syntax.
    -added some examples and explanation to Sup3rDatasets
    bnb32 committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    80dbb5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de031fe View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. gaps version bump.

    vindex method for fancy indexing
    added signature check in batch factory and gaps derived docs / sigs in derived classes.
    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    20b4fa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b18ed4 View commit details
    Browse the repository at this point in the history
  3. simplified auto gen of composite signatures and docs. moved some logi…

    …c to Sup3rMeta meta class which all containers inherit.
    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    53f6968 View commit details
    Browse the repository at this point in the history
  4. sup3rmeta subclasscheck update

    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    725c880 View commit details
    Browse the repository at this point in the history
  5. type hint fix

    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bb2c0c1 View commit details
    Browse the repository at this point in the history
  6. test fixes

    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    27f1eae View commit details
    Browse the repository at this point in the history
  7. nc for cc shouldnt actually have base loader arg. fixed order of comp…

    …arison in stats test
    bnb32 committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    749633b View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. test on units persisting through load and temp change to celsius. rem…

    …oved dim ordering logic in Sup3rX initialization. Only enforce dim order when returned from a numpy style indexing request
    bnb32 committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    250a0fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bd542d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. general exo rasterizers for nc and h5 and any feature, with Sup3rX me…

    …mbers. Prep for replacing model step iteration with coarsening of highest res for each step. graceful batch handler thread exit.
    bnb32 committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    c045b81 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. added recursive derivation. simplified exo handling: get highest res …

    …and then use xr.Dataset().coarsen for each model step. moved that simplified code from exo dir contents back into exo.py
    bnb32 committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    a27110e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. self reference in feature registry leads to infinite recursion - adde…

    …d check. fixed sphinx doc render - needed to define __name__ appropriately.
    bnb32 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fbde72e View commit details
    Browse the repository at this point in the history
  2. sup3rwind citation update

    bnb32 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3c9c72c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a707019 View commit details
    Browse the repository at this point in the history
  4. readme updates and test fixes

    bnb32 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    33cc102 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b1f29b View commit details
    Browse the repository at this point in the history
  6. fix: broken rename

    bnb32 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a6acb90 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. cleaned up __getitem__ and added .values for @grantbuster :) also…

    … addressed other pr comments.
    bnb32 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    40e5021 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    211976f View commit details
    Browse the repository at this point in the history
  3. more __getitem__ simplifying

    bnb32 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    fe47f3e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71073d2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d04e6e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d4114e View commit details
    Browse the repository at this point in the history
  7. custom types removed.

    bnb32 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    47d1fe7 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. simplified args for Sup3rDataset. Single check for tuples in `Conta…

    …iner` data setter. sphinx_book_theme.
    bnb32 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    d8e0fe2 View commit details
    Browse the repository at this point in the history
  2. bad type check fix

    bnb32 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    acea804 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    0e32ff5 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. sza derived feature added. wrapped some function from rex class with …

    …map_blocks so this could be done with efficient mem use.
    bnb32 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    ca52250 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a708443 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3f8260 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    90ecb90 View commit details
    Browse the repository at this point in the history
  5. netcdf version req

    bnb32 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    05166f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. netcdf4 req added

    bnb32 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    0b26b69 View commit details
    Browse the repository at this point in the history
  2. with netcd4f4 installed engine='h5netcdf' needs to be explicit. befor…

    …e it was default without netcdf4 installed.
    bnb32 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    c5f0dec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5805bd4 View commit details
    Browse the repository at this point in the history
  4. test fixes, netcd4 version req cap, and xr open mfdataset wrapper wit…

    …h default engine + format
    bnb32 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bde79ed View commit details
    Browse the repository at this point in the history
  5. one annoying test remaining

    bnb32 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    009edd5 View commit details
    Browse the repository at this point in the history
  6. delayed dask and schedulers used to replace threadpoolexecutor logic.…

    … can also be used to replace process pools just with scheduler='processes'
    bnb32 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    2ae0cbc View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. added initial meta / time_index building from only unique spatial / t…

    …emporal chunks for collection.
    bnb32 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    77c36ca View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    e6ed04a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8a7e28 View commit details
    Browse the repository at this point in the history
  3. more epochs for training test

    bnb32 committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    6bbdf98 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. not caching exo data with time if time independent. this can be a hug…

    …e cache if using hr topo in a temporal model.
    bnb32 committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    9957800 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f34e35 View commit details
    Browse the repository at this point in the history
  3. added method to automatically determine exogenous data steps from lr_…

    …features and hr_exo_features
    bnb32 committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    3117212 View commit details
    Browse the repository at this point in the history
  4. test fixes

    bnb32 committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    78e69ce View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. test fix

    bnb32 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a00fdaf View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. changed masking logic in level interpolation to enable delayed comput…

    …e. much faster for large forward passes.
    bnb32 committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    ca3b03e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    f619328 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d719c59 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    dacd1d5 View commit details
    Browse the repository at this point in the history
  2. limit on padding removed since data is loaded as ndarray before paddi…

    …ng now. added s_enhancements and t_enhancements to abstract models and now use this to determine exo shapes. removed temporal pad from SolarMultiStepGan, since this can be determined from the t_enhance arg and low res shape
    bnb32 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    9453b25 View commit details
    Browse the repository at this point in the history
  3. type checking additions

    bnb32 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    9058109 View commit details
    Browse the repository at this point in the history
  4. test fixes

    bnb32 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    bafcb8d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e71ed6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fccea44 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    7bac634 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79a4602 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41f82dc View commit details
    Browse the repository at this point in the history
  4. moved calculation of k factor and tau into separate static methods fo…

    …r modular calls
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    9430b02 View commit details
    Browse the repository at this point in the history
  5. moved presrat transform into separate method for modular call directl…

    …y from parameters not file
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0c5f9b9 View commit details
    Browse the repository at this point in the history
  6. bug fix: wrong time index passed to run single and default relative s…

    …hould be a bool
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d56f70f View commit details
    Browse the repository at this point in the history
  7. more explicit enforcement of a zero threshold value and passing to QD…

    …M to prevent large delta values
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    3edbcef View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8ee6b2b View commit details
    Browse the repository at this point in the history
  9. moved ntimesteps and window size to kwargs so easier to modify. Found…

    … issues with small window size so increased default to 120 (seasonal correction)
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e413982 View commit details
    Browse the repository at this point in the history
  10. moved presrat class to its own module, merged new fixes with dh_refac…

    …tor formatting
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5657774 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6596038 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ca862eb View commit details
    Browse the repository at this point in the history
  13. delta denom min should fix the low precip value issues and no need to…

    … round data to zero anymore
    grantbuster authored and bnb32 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    4314053 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8d8474c View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    1c1056d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fdf415 View commit details
    Browse the repository at this point in the history
  3. modfication to SolarCC model to enable running as stand alone forward…

    … pass with correct output shape
    bnb32 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    a7c4d1d View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    0d198b6 View commit details
    Browse the repository at this point in the history
  2. clean up docstrings

    grantbuster committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    661e650 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83d6475 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. split up attribute collection for meta and time index. significantly …

    …reduced mem use since number of spatial chunks tends to be much lower than number of time chunks.
    bnb32 committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    ce76db8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af2336b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e90cb0 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. added time_shift argument to deriver and data handler so that daily d…

    …ata time index can be shifted to start at the beginning of the day instead of at noon. GCM data frequently stamps daily data at noon instead of the beginning of the day. This caused an issue with the solar module thinking that given gan data had 48 time steps, since the time index had two unique day values, even though there were only 24 time steps from noon to noon on each day.
    bnb32 committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    c21ed3c View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    a5f42b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae2324b View commit details
    Browse the repository at this point in the history
  3. linting fix

    bnb32 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    84d3be5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #230 from NREL/gb/presrat_updates_2

    Gb/presrat updates 2
    bnb32 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c692000 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. regex edit for correctly getting chunk indices from solar module outp…

    …ut files, with irradiance suffixes
    bnb32 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7232eb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1920fcd View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    3808db1 View commit details
    Browse the repository at this point in the history
  2. time shift added to solar module, so that daily gcm data can be shift…

    …ed to start at the zeroth hour, if it has not been shifted already.
    bnb32 committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    e4f009f View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    9042364 View commit details
    Browse the repository at this point in the history
  2. default time shift as 0.

    bnb32 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    2aa353b View commit details
    Browse the repository at this point in the history
  3. era downloader test fixes

    bnb32 committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    7c8fe53 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    711c471 View commit details
    Browse the repository at this point in the history
  2. xr open mfdataset wrapper added

    bnb32 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    dd6250a View commit details
    Browse the repository at this point in the history
  3. dont need time shift in the solar module. can just shift this in a se…

    …parate script if this is an issue.
    bnb32 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8ae857d View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    e4428fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ec885a View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. removed expanded time dimension in exo rasterizer for time independen…

    …t features. now just repeat over time dimension in the forward pass padding method. this is much more performant for time independent features. this doesnt solve slow down issues with time dependent exo features like sza though.
    bnb32 committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    69e8344 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf5e466 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9b42e9 View commit details
    Browse the repository at this point in the history