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

Merged
merged 433 commits into from
Nov 5, 2024
Merged

Bnb/dh refactor #220

merged 433 commits into from
Nov 5, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 23, 2024

  1. 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
  2. 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
  3. Configuration menu
    Copy the full SHA
    32ef4de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e53679 View commit details
    Browse the repository at this point in the history
  5. 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
  6. 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
  7. Configuration menu
    Copy the full SHA
    9657848 View commit details
    Browse the repository at this point in the history
  8. 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
  9. Configuration menu
    Copy the full SHA
    af3f6f3 View commit details
    Browse the repository at this point in the history
  10. 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
  11. 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
  12. 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
  13. 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
  14. Configuration menu
    Copy the full SHA
    dea1b60 View commit details
    Browse the repository at this point in the history
  15. 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
  16. 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
  17. 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
  18. Configuration menu
    Copy the full SHA
    7c5cb36 View commit details
    Browse the repository at this point in the history
  19. 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
  20. 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
  21. Configuration menu
    Copy the full SHA
    e5c7221 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2df1c0e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d27dca4 View commit details
    Browse the repository at this point in the history
  24. 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
  25. Configuration menu
    Copy the full SHA
    ac3f176 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3721cde View commit details
    Browse the repository at this point in the history
  27. 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
  28. Configuration menu
    Copy the full SHA
    5b4ba1f View commit details
    Browse the repository at this point in the history
  29. 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
  30. Configuration menu
    Copy the full SHA
    6ab0873 View commit details
    Browse the repository at this point in the history
  31. 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
  32. 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
  33. Configuration menu
    Copy the full SHA
    d435804 View commit details
    Browse the repository at this point in the history
  34. 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
  35. Configuration menu
    Copy the full SHA
    10dc3af View commit details
    Browse the repository at this point in the history
  36. 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
  37. 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
  38. 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
  39. Configuration menu
    Copy the full SHA
    eb68749 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    60e48f9 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    3d4a027 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    dd6a0ee View commit details
    Browse the repository at this point in the history
  43. 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
  44. 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
  45. 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
  46. Configuration menu
    Copy the full SHA
    ef76b6e View commit details
    Browse the repository at this point in the history
  47. 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
  48. Configuration menu
    Copy the full SHA
    fbe8e86 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    6be9677 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    7c9b991 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    a58d720 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    b1b5bf5 View commit details
    Browse the repository at this point in the history
  53. 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
  54. 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
  55. 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
  56. Configuration menu
    Copy the full SHA
    bf21ea6 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    a1624b6 View commit details
    Browse the repository at this point in the history
  58. 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
  59. 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
  60. 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 authored 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 authored 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

Commits on Sep 24, 2024

  1. need to check coords also for pressure derivation. fixed this in base…

    … deriver. typo in solar module.
    bnb32 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2ea6206 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7e44b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92ee0f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. added height interpolation for the case of just single level data. e.…

    …g. u_30m from u_10m and u_100m, with u pressure level array
    bnb32 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c3a3309 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

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

Commits on Oct 14, 2024

  1. .values method fix - returns as_array but loaded into memory.…

    … Added shape checks in ``test_access.py``
    bnb32 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    cc9eaae View commit details
    Browse the repository at this point in the history
  2. lowered bottleneck verrsion req

    bnb32 committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    71d4000 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. removed bottlenexck requirement

    bnb32 committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    94975f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    9d5f23e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ea18ec View commit details
    Browse the repository at this point in the history
  3. docs

    grantbuster committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    df9ee4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d01ae9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79a1e7a View commit details
    Browse the repository at this point in the history
  6. added test for various slicing operations on sup3rdataset with and wi…

    …thout pre loading of data
    grantbuster committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    31a2f38 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    96fc946 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. if chunks=None load into memory. This mimics the behavior of xr.open_…

    …dataset() which will default to a dask array manager if chunks is specified and load into memory as numpy arrays in chunks is None.
    bnb32 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    532eb4d View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Merge pull request #233 from NREL/bnb/compute_on_none_chunks

    Bnb/compute on none chunks
    grantbuster authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e6f7dc5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #232 from NREL/gb/bc_debug

    Gb/bc debug
    grantbuster authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    f864740 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    f31f716 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #234 from NREL/gb/bc_util

    fixed double bias correction of features in bc qdm utility
    grantbuster authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    e89362c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41bb7e0 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. typo: pydata-sphinx-theme didn't reach 15.3 yet

    A typo in the version of optiona dependency pydata-sphinx-theme. It
    should be 0.15 instead of 15.x .
    castelao committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    99e197b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c84ff5e View commit details
    Browse the repository at this point in the history
  3. cfg: Adding pydata-sphinx-theme as a conda requirement in pixi

    Since it is an optional requirement in the package definition, let's add
    it as a conda source in pixi.
    castelao committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    f894e4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54fc028 View commit details
    Browse the repository at this point in the history
  5. cfg: Updating pixi.lock

    castelao committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    9aa6cb1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d6e5d7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b4c30a8 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #236 from NREL/fix/pydata_sphinx_theme_version

    Fix: Typos on optional dependencies related to doc
    castelao authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3ff59d0 View commit details
    Browse the repository at this point in the history
  9. Access pattern changed so Sup3rX.__getitem__ can only accept eith…

    …er feature names or numpy style indices, but not both. All instances of ``ds[feature, id0, id1, ...]`` changed to ``ds[feature][id0, id1, ...]``. Features cannot be retrieved by index, only by name, and providing only dimension indices ``(ds[id0,id1,...])`` returns an array with trailing feature channel and spatiotemporal shape matching indices.
    bnb32 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    4f59503 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6801f54 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c9450d3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    43a04a0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c4a6a46 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0fff0be View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Removing some logic from Sup3rX.__setitem__ and ``Sup3rDataset.__…

    …setitem__`` which is no longer used after the index updates.
    bnb32 committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f53b275 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a2ca31 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #235 from NREL/bnb/updated_indexing

    Updated Sup3rX access patterns - keys can be either features or numpy style indexing but not both
    bnb32 authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    cfddcfe View commit details
    Browse the repository at this point in the history
  4. Merge pull request #237 from NREL/gb/collect_chunks

    if n_writes request is too big, set to n_chunks instead of raising error
    grantbuster authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8a8ca48 View commit details
    Browse the repository at this point in the history
  5. Caching with DailyDataHandler objects updated. These handlers have .d…

    …ata attrs which have .hourly and .daily data so caching these needs to be handled slightly differently
    bnb32 committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8d969f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18c942a View commit details
    Browse the repository at this point in the history
  7. Merge pull request #238 from NREL/gb/check_daily_batching

    added simple test on cc batching for daily boundaries
    grantbuster authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    d719957 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Checks added to caching and derivations so that coarsening, time roll…

    …ing, etc would not be applied to data loaded from cache.
    bnb32 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    157c102 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    524dd11 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #239 from NREL/bnb/caching_fixes

    Bnb/caching fixes
    bnb32 authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ef17fde View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    b03b838 View commit details
    Browse the repository at this point in the history
  2. doc string for data handler: added chunks=None loads data into memory…

    …. added tests for chunks=None with height interp derivation
    bnb32 committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    91a37ed View commit details
    Browse the repository at this point in the history
  3. refactor: interp_method -> interp_kwargs (includes method and run_lev…

    …el_check keys. the latter is default False, as this takes a long time since it has to load arrays into memory to compute min / max levels. ) Modified the linear interpolation method to use the 2 closest levels rather than the two closest levels which also happen to be above and below the requested level. This speeds up the interpolation by orders of magnitude.
    bnb32 committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    b8523d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e95307 View commit details
    Browse the repository at this point in the history
  5. small tweak in _lin_interp

    bnb32 committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    b4a754e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    89fe26a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c82e8c View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. height parsing fix

    bnb32 committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    508fadc View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    a194f28 View commit details
    Browse the repository at this point in the history
  2. if the Rasterizer gets chunks = None it will init the Loader with chu…

    …nks = auto and then load only the rasterized data into memory.
    bnb32 committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3f8802f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8d75ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ac7518 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    afe7d0b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a37b1e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5dcc98d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f6c7992 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    39aeb03 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6672d4b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ba3b226 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8085a43 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    e5df5d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e46d6c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #240 from NREL/gb/bc_kwargs

    Gb/bc kwargs
    grantbuster authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b8ebeeb View commit details
    Browse the repository at this point in the history