-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Data().generate() now returns an Xarray 'state vector' * Remove vector class import for now, replacing vector objects with simple xarrays * Update sqgturb to work with xarray. Returns in real space, not spectral. * Updated observer with xarray object, but only basic functionality is working * 3DVar working with xarray: * ETKF working with xarray, initial commit * Sort observed locations * Data times are stored as base numpy arrays, since xarray coords cannot be jax * Reinserting netcdf utils into data class * gcp with xarray * ETKF can handle irregular obs now, but doesn't have proper indices info * Use system_index variable for H * Observer adds integer indices for easier H calculation * Allow datavars to not match observed vars * Updated system index and remove sort from the observer * Making some dacycler methods part of parent class for ease of maintenance * Initial version of xarray var4dBP, needs testing and cleaning * Cleaned var4dbp using xarray * All dacyclers working with xarray, but possibly some accuracy issues with 4dvar and 4dvarBP * State Vec has delta_t attribute and M is provided as xarray * Working RC Model with xarray * Fixed generator extra step rounding error * Observer can accept random_time_density now * Add permissible xarray jax to pyproject toml * Remove all vector module imports * Rename i to index for toy data generators * GCP system dim now specified * Observer can accept list of error_sds, and now samples with replacement when there is more than 1 dimension to sample along * Fixed issue with missing time offset for 4dvar and 4dvarBP * Reassign coords to match input state within dacycler * Apply coord reassing for 4dvar cycler too * Remove unnecessary print from 3dvar * Reassign coords for outer loop carry instead of dropping time * Updated gcp to properly assign system_dim * Assign system_dim as attr, not coord * Fix typo for xarray_jax git repo * XArray accessors for helper methods * Update xarray accessor methods: ds.dab.flatten() and da.dab.unflatten() * NeuralGCM model with configuration YAML * Neuralgcm forecast returns last step and full forecast tuple * Remove old import_xarray * Add date and variable filtering to load netcf * Add option for data split in fraction * Updated load netcdf with filtering and data base test * Updated LE calcs for xarray * QGS with xarray output * All off-line data tests working with xarray * Partially working DA tests (3dVar working) * Store error sd in obs vec * ETKF and var4dBP tests passing * Updated vals for 4dvar testing (baed on previous stable vrsion, were out of date) * Updated presaved 4dvar test vals with consistent model delta_t (previously was 0.01 for nature run, 0.05 for forecast model) * 4dvar method need different calc_default_R method (single observation timestep instead of full flattened observations) * Test without specifying R * Updated enso_indices (and tests) for xarray * Removing vector class tests * Updated gcp tests * Smaller GCP tests to speed up downloads * Smaller GCP tests, all passing * Updated model base test for xarray, passing * Observer tests updated and sqgturb system dim set in real space * Skipping obsop tests (temporary, not used in any examples) * Update README with xarray, added observer example * Correct system_dim in sqgturb test
- Loading branch information
Showing
34 changed files
with
1,242 additions
and
2,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from . import data, vector, model, observer, obsop, dacycler, _suppl_data | ||
from . import data, model, observer, obsop, dacycler, _suppl_data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.