Skip to content

Releases: axiom-data-science/extract_model

v1.1.0

20 Jan 00:57
4486d31
Compare
Choose a tag to compare

What's New

Two main changes in sel2d / sel2dcf:

  • a mask can be input to limit the lons/lats from the DataArray/Dataset that are used in searching for the nearest point with xoak, in case the nearest model point is on land but we still want a valid model point returned.
  • incorporating changes from xoak that optional return distance of the model point(s) from the requested point(s).

v1.0.0

09 Dec 21:40
07ed8ad
Compare
Choose a tag to compare

Refined requirements and other small updates.

What's New

  • Simplified dependencies
  • Now available on PyPI!

v0.9.0

26 Sep 20:51
03d69de
Compare
Choose a tag to compare

What's New

  • An optional subsetting option that enables subsetting directly on the target
    dataset's dimensions. For remote datasets, this ensures that remote requests
    ask for minimal slices. em.sub_grid(..., naive=True).
  • Adds preload argument for unstructured grid subsetting. Radically improves xarray resolution
    times after subsetting.

v0.8.1

16 Aug 16:45
46e212e
Compare
Choose a tag to compare

What's New:

  • Support for SELFE datasets is now incorporated into em.sub_grid() em.sub_bbox() and
    em.filter().
  • Support for numba and numpy implementations of index_of_sorted().

v0.8.0

03 Aug 21:41
c564e10
Compare
Choose a tag to compare

What's New

  • extract_model has a backend that will support reading in FVCOM model output which has previously not been possible when using xarray without dropping the vertical grid coordinates.
  • em.sub_bbox() supports subsetting FVCOM model output.
  • A new jupyter notebook demonstrating subsetting of FVCOM model output is now available in docs.
  • em.sub_grid() supports subsetting FVCOM model output.
  • em.filter() will not discard any unstructured coordinate information in the auxiliary coordinate
    variables.

v0.7

22 Jul 20:46
cb4b08c
Compare
Choose a tag to compare

What's New

  • em.sel2d() now uses xoak to find the nearest neighbor grid point on ND grids. Due to this change, em.argsel2d() doesn't exist anymore. Note that vertical functionality that was previously in em.sel2d() is now in em.selZ().
  • Provide more options in em.filter() for keeping different coordinates in a Dataset.
  • Improvement to unit test setup.
  • em.preprocess() will implicitly assign horizontal coordinates longitude and latitude for POM
    datasets, even if the data do not specify coordinates attributes explicitly.

v0.6.1

08 Jul 20:54
279d723
Compare
Choose a tag to compare

Hopefully improved reliability of tests running on CI. Also separated out xESMF into another installation file so that package will be installable from conda-forge for all operating systems, but then xESMF is installed subsequently for non-Windows users with the conda-requirements.txt file.

v0.6

08 Jul 18:21
e7833e2
Compare
Choose a tag to compare

extract_model can now be installed on Windows. If installing on Windows, horizontal interpolation will not work since xESMF will not work properly since ESMPy cannot be installed on Windows. Tests will run on Windows because those that use horizontal interpolation will not error out.

v0.5.3

07 Apr 17:26
3040061
Compare
Choose a tag to compare

filter: can be used to easily filter a Dataset down to certain variables by their standard names, but also looks for the variables necessary to decode vertical depth coordinates.

sub_grid hadn't been written to account for both cases of dimensions and coordinates with the same name vs. not. Now it works for both scenarios.

Also cf-xarray is now available on conda-forge with the necessary changes so can integrate that.

v0.5.2: Improved subset function

05 Apr 18:55
a65179d
Compare
Choose a tag to compare

Now subset function has been split into sub_bbox and sub_grid.