Project

General

Profile

News

EPyGrAM: Release of v1.4.6

Added by alexandre mary 3 months ago

Commit commit:b4880121

Contents since 1.4.3:

Formats:

  • fix GRIB writing of constant fields
  • netCDF CF-1.4 stereopolar projection decoding
  • efficient iterator in GRIB (for f in g)

Installation:

  • porting to belenos
  • porting to MacOSX
  • Makefile, deployment and installation updated (new directories/paths)

Miscellaneous:

  • EPyGrAM no longer is in charge of setting matplotlib backend: now to be set in $HOME/.config/matplotlib/matplotlibrc
    e.g.
    backend: Agg is the recommended non-interactive backend
    backend: Qt5Agg is the recommended interactive backend for Mageia7
    cf. https://matplotlib.org/faq/usage_faq.html#what-is-a-backend for more information
  • operations on Angles

And a whole lot of various fixes...

EPyGrAM: Release of v1.4.3

Added by alexandre mary 9 months ago

Commit commit:c6c0cbb8

Contents since 1.4.2:

A whole lot of various fixes...

Formats:
  • formats plugged at runtime, if underlying package is available
  • TIFF: porting to python3
Plugins:
  • applicative functionalities are now implemented as plugins: vtk (3D visualization), basemap, cartopy
  • vtk: cf. commit commit:7ddd11b0 for more details
  • cartoplot: colormap_helper and extent arguments
  • cartoimage method (vector field as color composition)
Installation:
  • porting to Bull Sequana (epona)

EPyGrAM: Release of v1.4.2

Added by alexandre mary 11 months ago

Commit commit:fc8cf8c2

Main advances:

  • porting of map plotting to cartopy, due to the deprecation announcement of basemap
  • new apptool: epy_cartoplot.py, shall replace epy_plot.py with cartopy
  • plot3D update, including epy_plot3d.py

More detailed contents, since 1.3.6:

GRIB:
  • grib_utilities becomes griberies
  • rewrite of GRIB read/write methods
  • creation of GribDef objects
  • new apptool what_the_grib.py
  • what(): nicer list of fields
  • listfields(additional_keys=...)
  • Numerous fixes
FA:
  • global: avoid to call trans_inq just to get SPdatasize for usual truncations
  • use of faFieldName.def GRIB definitions and sfxflddesc_mod.F90 instead of FA_Field_Dict.csv (=> adaptations needed if you have local .epygram versions)
epyweb:
  • GRIB2 : better and faster search within GRIB2 files, bugfix for plotting vectors, shortcuts for parameters updated
  • Misc: shortcuts for operational models updated (Vortex, domains), new pre-defined zooms
Fields:
  • fields comparison: scatter_with(), compare_to(), normalized_comparison()
  • recursive objects comparison improvement
  • cartopy: cartoplot() and default_cartopy_CRS() methods
3D:
  • New apptool: epy_plot3d.py
  • Simplification for 3D plotting: * offset, hCoord and z_factor are now hidden from the plotting methods * new util.vtk_guess_param_from_field to ease the choice of the above variables * util.vtk_set_window becomes util.vtk_setup * new util.vtk_proj function to ease the camera manipulation
  • Simplification regarding excludeextralevels parameter
  • Correction in D3VirtualField.getlevel when level values are position dependent
  • D3Geometry.isglobal property is added
  • geoid was missing in geometry returned by make_section_geometry
  • extract_subdomain can now performs a vertical coordinate change on the whole domain
Miscellaneous:
  • ECMWF pre-configuration profiles
  • netCDF: Geos geometry read
  • netCDF: ignore failed read of validity
  • new handling of colormapping helpers + epygram colormaps in json format (=> adaptations needed if you have local .epygram versions)
  • improvement of installation script (known platforms only) => towards site-packages
  • suppression of femars apptool
  • porting to epona fixes
  • optimisation for interpolation on Gaussian geometry
  • various and numerous fixes...

EPyGrAM: Release of v1.3.6

Added by alexandre mary almost 2 years ago

Commit commit:ccb8424

Main advances:
  • Python3 support for GRIB, provided you have ecCodes 2.10.0 onwards
  • 3D plotting (requires vtk)
  • Diagnostics meta-resources

More detailed contents, since 1.3.3:

Fields:
  • 3D plotting (as_vtkGrid, plot3DContour, use_field_as_vccord and plot3DVolume)
  • method center added
  • getvalue_ij and getvalue_ll rewritten
  • interpolation bilinear instead of linear_spline when possible
  • extractsection and extractprofile added
  • bug correction for getvalue_ll (linear and cubic)
  • + and - operations: keep fid if same, compute a consistent validity, in consistent cases
Geometries:
  • domain_making: add possibility to set reference_lat for lambert
  • method eq_Hgeom
  • optimization and parallelization of several methods
  • plot3DLLImage, plot3DBluemarble
  • method vcoord_as_field
  • VGeometry: exclude_extralevels option for hybridH2altitude
  • profiles: flux and mass heights now contain extra levels
FA:
  • Field_Dict_FA.csv: correction for distinction between 0-3-4 and 0-3-5, for cloud water and ice crystal, default value for productDefinitionTemplateNumber
  • caches in find_fields_in_resource and inquire_field_dict
  • fieldencoding optionally updates fieldscompression dict
GRIB:
  • fid of GRIB messages more flexible according to product template number
  • fix for int keys in index
LFI:
  • optimization
  • moveOnMass option
  • default value for productDefinitionTemplateNumber
  • fid correction for misc fields read from LFI in true3d mode
netCDF:
  • minimal support when Xgrid and Ygrid are defined as 3D
Resources:
  • DiagnosticsResource
  • new format netCDFMNH
Technical:
  • update installation script (@cnrm) - incl. dissociate vortex and epygram
  • Python3/ecCodes2.10.0 adaptation
Miscellaneous:
  • numerous various fixes...
  • precipitation types colormapping (ptype, ptype0)
  • epyweb: Minimal support of GRIB2 files

snowtools_git: New release in cen SURFEX branch

Added by matthieu lafaysse about 2 years ago

Dear Crocus users,

The cen branch (stable branch for Crocus users) has just been updated with numerous modifications including:

- merge with all technical modifications of SURFEX v8.1 master branch : http://www.umr-cnrm.fr/surfex//spip.php?rubrique151

- merge of various new developments which can optionnally be activated :

Multiphysical system ESCROC (Ensemble System Crocus). Documentation: https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Multiphysics
Explicit representation of impurities : https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Explicit_representation_of_impurities
Snow management in ski resorts: https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Crocus-RESORT
Modification of radiation corrections on explicit slopes: https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Radiation_on_slopes
Add topographic metadata in diagnostic files: https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Output_diagnostics
Coupling of Crocus snowpack model with Multiple Energy Balance scheme for snow-vegetation interactions (documentation not yet available)
MEPRA expert system for avalanche hazard diagnostic (documentation not yet available)
SYTRON scheme for erosion/accumulation of drifted snow in the massif geometry (documentation not yet available)

The main technical consequence for standard users is that the namelists from version 8 are no longer supported. Users must adapt their namelists from this version 8.1 example: https://opensource.umr-cnrm.fr/projects/snowtools_git/repository/revisions/master/entry/DATA/OPTIONS_V8.1_NEW_OUTPUTS_NC.nam

Note also that the results of standard applications on slopes are likely to be affected by the changes in the radiations parameterization. There was not any modification in the main snowpack scheme itself.

Note that we will ask all users to update their code in case of bugs in older versions.
(git pull and new compilation)

If despite all our tests, you meet troubles with this new version, please report them through the support interface: https://opensource.umr-cnrm.fr/projects/snowtools_git/issues/new

This new release is the result of a long work from many contributors, including a major investment of Rafife Nheili for merging.

Thank you
Matthieu

EPyGrAM: Release of v1.3.3

Added by alexandre mary about 2 years ago

Commit commit:660134f5

Contents, since 1.3.2:

Geometries:
  • domain_making update: I and E zones in pgd
  • hybridP_coord_to_3D_altitude_field()
  • vgrid site package; provide handy tools to generate vertical hybrid-pressure coordinates (A & B)
FA:
  • in place method modify_validity()
GRIB:
  • even better handling of the gribapi indexes bug (the former still led to "Too many open files error")
Technical:
  • installation script: install_epygram.py
Miscellaneous:
  • numerous various fixes...
  • doc: dependancies, colormaps, cheatsheet.pdf, epy_doc.py

EPyGrAM: Release of v1.3.2

Added by alexandre mary over 2 years ago

Commit commit:1cfe0f1

Contents, since 1.2.15:

epygram is now Python3-compatible, EXCEPT that neither gribapi nor ecCodes is...

Geometries:
  • new geometry RotatedLonLat
  • get rid of home-made module myproj (towards pyproj)
  • more consistent azimuth() between geometries (caution: non-reproducible with former method, available through plane_azimuth())
  • more consistent use of geoid in distance/linspace/azimuth (caution: non-reproducible with before)
  • Gauss grid: resolution_field_from_stretching
GRIB:
  • better handling of the gribapi indexes bug (the former led to "Too many open files error")
  • ecCodes support, with a switch to use gribapi/eccodes and default to ecCodes
NetCDF:
  • more options in the writing of fields
usevortex:
  • use vortex' ftppool for faster and more reliable transfers
Technical:
  • new ctypesForFortran.py mechanism for interfacing Fortran routines (arpifs4py)
  • stricter equality between objects, new function tolerant_equal()
  • rationalisation of init_env()
Miscellaneous:
  • GeoPoints format: more modular
  • numerous various fixes...
  • doc and Field_Dict_FA updates

EPyGrAM: Release of v1.2.15

Added by alexandre mary over 2 years ago

Commit commit:9b50175

Contents, since 1.2.10:

Functionalities:
change default colormap from seismic to RdBu_r, softer for the eyes...
more options to basemap
field.shave()
call to (e)trans_inq through SpectralGeometry object
ability to plot uniform fields with points/scatter
Gauss geometry resolution_field()
plotfield(): add rcparams control
mesh_area methods for projected grids
levelsnumber in H2D.plotfield() can be a discrete list of levels
function to compute gauss_latitudes()
function to compute 3D pressure field from hybrid-pressure coordinate and surface pressure

FA:
bugfix in FA-Gauss writing
guess field type (H2D/Misc) if not in Field Dict
more control on limitation of FA compression (customizable in config)

GRIB:
ability to read spectral fields (spherical harmonics)
workaround a bug in gribapi indexes
workaround 'pv' key absence

NetCDF:
regular_lonlat grid_mapping and resolution consistency

EPYWEB:
Epyweb fixes and updated defaults

usevortex:
fixes for FTP and session memory leak
quiet_get() context manager

domain_maker:
domain_maker reorganized in order to be used from Olive (clim_3to1 configuration)
departments option
margin in lonlat-included domain generation, customizable in config

Technical:
more unit-tests
movings to bronx site-package along vortex

Miscellaneous:
Doc and Notebooks update
Numerous various fixes
update Field_Dict_FA (visibility)

(1-10/16)

Also available in: Atom