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

Add converting to ndarray #16

Merged
merged 7 commits into from
Feb 5, 2024
Merged

Add converting to ndarray #16

merged 7 commits into from
Feb 5, 2024

Conversation

Quba1
Copy link
Member

@Quba1 Quba1 commented Feb 5, 2024

No description provided.

@Quba1 Quba1 changed the base branch from main to 0.10-dev February 5, 2024 09:27
@Quba1 Quba1 merged commit a2c8f08 into 0.10-dev Feb 5, 2024
1 of 4 checks passed
@Quba1 Quba1 deleted the ndarray branch February 5, 2024 09:28
Quba1 added a commit that referenced this pull request Feb 14, 2024
* Codes index (#11)

* initial index-support

* make index_handle public only within crate

* re-export CodesIndex in lib.rs for consistency

* make codes_index a feature

* mark featured modules in docs

* reolve cargo doc warnings

* update gh actions

* fix testing in gh actions

* (deosn't compile) extract index binds to separate file

* WIP mostly finish CodesIndex API and conversion to CH

* WIP codes_handle iterator with index works

* compiles but does not allow for editing index
so misses the whole point of index

* actually, the API makes sense (and tests now pass)

* move high-level index tests to integration tests

* add integration tests with multithreading

* add mutex for problematic functions

* add error and panic tests for codes_index

* add features to gh actions

* add index handle interference test

* clippy

* make ec_index default feature

* safeguard all index functions

* make index feature experimental

---------

Co-authored-by: Robin <[email protected]>

* Codes index (#12)

* initial index-support

* make index_handle public only within crate

* re-export CodesIndex in lib.rs for consistency

* make codes_index a feature

* mark featured modules in docs

* reolve cargo doc warnings

* update gh actions

* fix testing in gh actions

* (deosn't compile) extract index binds to separate file

* WIP mostly finish CodesIndex API and conversion to CH

* WIP codes_handle iterator with index works

* compiles but does not allow for editing index
so misses the whole point of index

* actually, the API makes sense (and tests now pass)

* move high-level index tests to integration tests

* add integration tests with multithreading

* add mutex for problematic functions

* add error and panic tests for codes_index

* add features to gh actions

* add index handle interference test

* clippy

* make ec_index default feature

* safeguard all index functions

* make index feature experimental

---------

Co-authored-by: Robin <[email protected]>

* Streaming iterator (#14)

* Squashed commit of the following:

commit 58d92ac
Author: Quba1 <[email protected]>
Date:   Sat Feb 3 17:07:40 2024 +0100

    make index feature experimental

commit 7275212
Author: Quba1 <[email protected]>
Date:   Sat Feb 3 16:18:58 2024 +0100

    implement streaming iter and adapt tests
    disables lib tests for now
    also adds result to some tests

commit 2512067
Author: Quba1 <[email protected]>
Date:   Fri Feb 2 19:56:05 2024 +0100

    initial preparation

commit 58ab75e
Author: Quba1 <[email protected]>
Date:   Sat Feb 3 16:24:50 2024 +0100

    safeguard all index functions

commit 166d701
Author: Quba1 <[email protected]>
Date:   Sat Feb 3 12:53:37 2024 +0100

    make ec_index default feature

commit d3682ff
Author: Quba1 <[email protected]>
Date:   Tue Jan 30 18:39:01 2024 +0100

    clippy

commit cff3157
Author: Quba1 <[email protected]>
Date:   Tue Jan 30 18:26:42 2024 +0100

    add index handle interference test

commit c099d58
Author: Quba1 <[email protected]>
Date:   Tue Jan 30 14:17:03 2024 +0100

    add features to gh actions

commit 9d8d83a
Author: Quba1 <[email protected]>
Date:   Tue Jan 30 14:14:01 2024 +0100

    add error and panic tests for codes_index

commit bb2558c
Author: Quba1 <[email protected]>
Date:   Tue Jan 30 13:10:02 2024 +0100

    add mutex for problematic functions

commit 9f8a137
Author: Quba1 <[email protected]>
Date:   Mon Jan 29 20:49:37 2024 +0100

    add integration tests with multithreading

commit 2590cb2
Author: Quba1 <[email protected]>
Date:   Mon Jan 29 08:14:51 2024 +0100

    move high-level index tests to integration tests

commit 952a111
Author: Quba1 <[email protected]>
Date:   Sun Jan 28 18:09:32 2024 +0100

    actually, the API makes sense (and tests now pass)

commit 5a30252
Author: Quba1 <[email protected]>
Date:   Sun Jan 28 18:05:35 2024 +0100

    compiles but does not allow for editing index
    so misses the whole point of index

commit 640122f
Author: Quba1 <[email protected]>
Date:   Sun Jan 28 17:29:33 2024 +0100

    WIP codes_handle iterator with index works

commit 8909556
Author: Quba1 <[email protected]>
Date:   Sun Jan 28 16:41:39 2024 +0100

    WIP mostly finish CodesIndex API and conversion to CH

commit db3555c
Author: Quba1 <[email protected]>
Date:   Sun Jan 28 13:02:08 2024 +0100

    (deosn't compile) extract index binds to separate file

commit 993efb9
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 12:34:56 2024 +0100

    fix testing in gh actions

commit 95c59b6
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 12:17:40 2024 +0100

    update gh actions

commit 4b0847e
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 12:16:20 2024 +0100

    reolve cargo doc warnings

commit 0e1ff8e
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 12:14:07 2024 +0100

    mark featured modules in docs

commit e76f3bc
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 12:04:01 2024 +0100

    make codes_index a feature

commit a3c25cb
Author: Quba1 <[email protected]>
Date:   Sat Jan 27 11:51:41 2024 +0100

    re-export CodesIndex in lib.rs for consistency

commit 5df6d99
Author: Quba1 <[email protected]>
Date:   Wed May 17 14:55:57 2023 +0200

    make index_handle public only within crate

commit 31c7cde
Merge: f6b3a2b f56a6f2
Author: Jakub Lewandowski <[email protected]>
Date:   Sat Jan 27 11:47:53 2024 +0100

    Merge pull request #2 from asura6/initial-index-support

    initial index-support

commit f56a6f2
Merge: 5b7f86d f6b3a2b
Author: Jakub Lewandowski <[email protected]>
Date:   Sat Jan 27 11:47:13 2024 +0100

    Merge branch 'codes-index' into initial-index-support

commit 5b7f86d
Author: Robin <[email protected]>
Date:   Tue May 9 19:16:56 2023 +0200

    initial index-support

* Ingest ref_iter branch (#13)

* initial index-support

* make index_handle public only within crate

* re-export CodesIndex in lib.rs for consistency

* make codes_index a feature

* mark featured modules in docs

* reolve cargo doc warnings

* update gh actions

* fix testing in gh actions

* (deosn't compile) extract index binds to separate file

* WIP mostly finish CodesIndex API and conversion to CH

* WIP codes_handle iterator with index works

* compiles but does not allow for editing index
so misses the whole point of index

* actually, the API makes sense (and tests now pass)

* move high-level index tests to integration tests

* add integration tests with multithreading

* add mutex for problematic functions

* add error and panic tests for codes_index

* add features to gh actions

* add index handle interference test

* clippy

* make ec_index default feature

* safeguard all index functions

* initial preparation

* implement streaming iter and adapt tests
disables lib tests for now
also adds result to some tests

* make index feature experimental

---------

Co-authored-by: Robin <[email protected]>

---------

Co-authored-by: Robin <[email protected]>

* repair typo after merge

* Non-specific API improvements (#15)

* handoff message cloning directly to ecCodes

* add test iter beyond none

* remove need for clone to find nearest

* (tests not working) remove need for clone for KeysIter

* fix tests for new KeysIterator

* add initial null pointer check

* refactor intermediate bindings

* add libc null check

* refactor out codes_nearest

* refactor out keys_iterator

* refactor out keyed_message

* codes_index module as a file

* refactor Key definition

* rustfmt

* remove unwraps in tests

* ignore failing tests in main branch

* Add converting to ndarray (#16)

* dont run dev actions on main

* initial ndarray implementation

* fix index feature definitions

* add ndarray and fix gh actions

* make ndarray default

* add reading ndarray with coordinates

* extend ndarray test

* clippy

* use only strictly necessary features

* Update documentation (#17)

* reduce duplicate actions

* gh actions fix

* reorder macos dev actions

* more clippy and stricter dev actions

---------

Co-authored-by: Robin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant