# NES CHANGELOG

### 1.1.0
* Release date: 2023/02/07
* Changes and new features:
  * Improve Lat-Lon to Cartesian coordinates method (used in Providentia).
  * Function to_shapefile() to create shapefiles from a NES object without losing data from the original grid and being able to select the time and level.
  * Function from_shapefile() to create a new grid with data from a shapefile after doing a spatial join.
  * Function create_shapefile() can now be used in parallel.
  * Function calculate_grid_area() to calculate the area of each cell in a grid.
  * Function calculate_geometry_area() to calculate the area of each cell given a set of geometries.
  * Function get_spatial_bounds_mesh_format() to get the lon-lat boundaries in a mesh format. (used in pcolormesh)
  * Bugs fixing:
    * Correct the dimensions of the resulting points datasets from any interpolation.
    * Amend the interpolation method to take into account the cases in which the distance among points equals zero.
    * Correct the way we retrieve the level positive value.
    * Correct how to calculate the spatial bounds of LCC and Mercator grids: the dimensions were flipped.
    * Correct how to calculate the spatial bounds for all grids: use read axis limits instead of write axis limits.
    * Calculate centroids from coordinates in the creation of shapefiles, instead of using the geopandas function 'centroid', that raises a warning for possible errors.
    * Enable selection of variables on the creation of shapefiles

### 1.0.0
* Release date: 2022/11/24
* Changes and new features:
  * First beta release
  * Open:
    * NetCDF:
      * Regular Latitude-Longitude
      * Rotated Lat-Lon
      * Lambert Conformal Conic
      * Mercator
      * Points
      * Points in GHOST format
      * Points in PROVIDENTIA format
  * Parallelization:
    * Balanced / Unbalanced
    * By time axis
    * By Y axis
    * By X axis
  * Create: 
    * NetCDF:
      * Regular Latitude-Longitude
      * Rotated Lat-Lon
      * Lambert Conformal Conic
      * Mercator
      * Points
    * Shapefile
  * Write:
    * NetCDF
      * CAMS REANALYSIS format
    * Grib2
    * Shapefile
  * Interpolation:
    * Vertical interpolation
    * Horizontal interpolation
      * Nearest Neighbours
    * Providentia interpolation
  * Statistics:
    * Daily_mean
    * Daily_max
    * Daily_min
    * Last time step
  * Methods:
    * Concatenate (variables of the same period in different files)
    