Skip to content

Releases: UMR-CNRM/EPyGrAM

1.5.2

27 Sep 12:52
Compare
Choose a tag to compare

Contents:

  • fix h5py/netCDF (Issue #31) & simplify formats loading order, new shortcut epygram.open
  • set stack limit unlimited in init_env() (for FA/spectral transforms)
  • freeze version of eccodes until full externalisation of falfilfa4py, compiled with consistent eccodes
  • backwards compatibility of gauss_rgrid2namelists
  • Add uv2psikhi function (#32)
  • fix spectral property for vector fields

1.5.1

19 Aug 13:24
Compare
Choose a tag to compare

Contents:

  • phasing w.r.t. Ubuntu24.04/Python3.12/numpy2.0 etc...
  • FA and spectral transforms .so libraries can be specified via env vars :
    • LD_LIBRARY_PATH (the directory they're in)
    • FALFILFA4PY_SO and IALSPTRANS4PY_SO (absolute path to .so files)
  • command line tools (e.g. epy_cartoplot.py) : default output is now png -- to activate GUI, use -o X

1.4.19

12 Jun 15:12
Compare
Choose a tag to compare

This is the last release (except bugfixes) in the series of versions 1.4.x

All new developments will now be carried out on version 1.5.0, which contains important refactoring and the publication of EPyGrAM on PyPI and actual separation of FA/LFI/LFA and spectral transforms. Cf. dedicated release.

Contents since 1.4.17:

  • Geometry:
    • Refactoring of geometry classes -- not footprints objects any more
    • Gauss domain making: take input in radians/sin instead of degrees
    • map factor averaged mean
  • Formats:
    • GRIB:
      • Support for 'lambert_lam' gridType
      • remove tests of geometry in GRIB1 : GRIB1 support is not tested anymore hence not supported/guaranteed !
    • netCDF:
      • add support of different field validity bases in writefield, provided that the dates match.
      • add support of slice type object as value of the only keyword argument of the readfield method.
      • change default value netCDF_default_behaviour[H1D_is_H2D_unstructured] to False
    • FA:
      • vertical geometry check compared to epsilon
      • Do not rely on sfxflddesc_mod for reading FA field any more
    • Update gribapi.def to v41
  • Prepare the split of arpifs4py into FA/LFI/LFA on one side and transforms on the other (later in ectrans)
  • Doc update
  • Miscellaneous fixes

Full Changelog: 1.4.17...1.4.19

1.5.0

12 Jun 15:27
Compare
Choose a tag to compare

This version contains important refactoring for the publication of EPyGrAM on PyPI and actual separation of FA/LFI/LFA and spectral transforms (though these are still part of epygram for now).

EPyGRAM is now available from:
pip3 install epygram

Note that the ctypesForFortran module has been externalised into a standalone package (https://github.com/UMR-CNRM/ctypesForFortran) and also published on PyPI.

For now, the separated underlying FA/LFI/LFA library (falfilfa4py.so) and IAL spectral transforms library (IALsptrans4py.so) still need to be compiled locally. On usual platforms in MF/ECMWF, they are available and EPyGrAM will find them automatically (note that on these HPCs, epygram is also now available as a module: module load epygram).
Further work is ongoing for publication of these libraries (pre-compiled) and their Python interfaces on PyPI as well. Stay tuned.

Many thanks to Walid Chikhi for this excellent work funded by ACCORD.

Edit: I noticed last minute that the FA/LFI/LFA support rearrangement in this version makes this functionality possible only at MF and ECMWF... To be fixed soon in the 1.5.1

1.4.17

10 Jan 15:31
Compare
Choose a tag to compare

Contents since 1.4.16:

  • Fix deprecation issues
  • Fix resampling with Gauss grids
  • Bump gribapi.def to v.39

Full Changelog: 1.4.16...1.4.17

1.4.16

04 Apr 13:33
Compare
Choose a tag to compare

Contents since 1.4.15:

  • Miscellaneous bug fixes:
    • ij2ll
    • cartoplot with gaussian field on a projection hiding a part of the globe
    • selecting C zone of a LAM geometry
    • tests
    • epyweb/members
    • zoom with masked fields
    • epy_conv vs. independent version of taylorism
  • FA method to access raw header
  • Morphing example in gallery
  • Field method extract_contour: returns the intersection of a plan and the 2Dfield, as a list of (lon,lat) points.

1.4.15

03 Jun 15:33
Compare
Choose a tag to compare

Contents since 1.4.14:

  • Doc generation reorganization (to docs/)
  • Externalise vgrid (to https://github.com/ACCORD-NWP/vgrid)
  • Bugfix for wfacilo call
  • new cartoplot argument colorbar_legend
  • Fix cartoplot contour labels colors

1.4.14

04 Mar 15:19
Compare
Choose a tag to compare

Contents since release 1.4.13:

  • Fixes:
    • Python3 / TIFFMF, epyweb
    • UTF8/ctypes, non-ASCII chars in path names
    • and many other small fixes
  • global_shift_center option added for epy_section (to shift before cutting section)
  • Truncation/subtruncation in domain_maker