• Newhall model gains support for additional spatially explicit inputs:
    • O horizon (presence/absence)
    • Saturation (presence/absence)
    • soilAirOffset (degrees C or degrees F)
  • Cryic Soil Temperature Regime criteria now properly incorporate O horizon and saturation into thresholds
  • Added helper functions for raster input data preparation. Initial sources include:

    • PRISM monthly climate “normals,” DAYMET monthly aggregated climate, SoilWeb ISSR800 (Available Water Storage Capacity)
  • Added sample data (PRISM+ISSR800, DAYMET+ISSR800 in GeoTIFF format) to inst/extdata

  • Added core_thresh argument to newhall_batch() and better heuristics for nrows with and without multiple cores

  • Recompiled JAR v1.6.4

  • Abstracted out longitude/latitude grid calculation, use "OGC:CRS84" for consistent determinations globally

  • Add newhall_prism_subset() and "extdata/prism_issr800_sample.tif" newhall_daymet_subset() and "extdata/daymet_issr800_sample.tif"

    • GeoTIFF files use "INT2S" (signed, two byte integer) datatype with "LZW" compression and "PREDICTOR=2" for small file size
  • Set minimum R version to 4.0.0 (for tools::R_user_dir())

  • Several fixes related to “Undefined” factor levels for moisture regime and moisture regime subdivisions in the newhall_batch(<SpatRaster>) method (#8)

  • Fixed layer names for the categorical results in the newhall_batch(<SpatRaster>) method

  • Set minimum R version to 3.6.0 (based on {rJava})

  • Added vignettes for using “legacy” model v1.6.1 JAR and for PRISM data; general improvements to documentation

  • Use terra::set.cats() for setting factor levels (prior approach using vector input and levels<- was deprecated)

  • New JAR file v1.6.4: adds a new result annualPotentialEvapotranspiration (sum of mean monthly PET) to NewhallBatchResults class
  • Fixed multicore support in newhall_batch(<SpatRaster>)

  • Optimization of newhall_batch(<SpatRaster>) method to skip NA rows and use less memory/fewer inputs

  • New JAR file v1.6.3: optimizes interface for batching in Java using simpler data structures better suited to high throughput
  • Add SpatRaster and RasterBrick newhall_batch() methods for raster input

  • Updated PRISM demo (using SpatRaster interface)

  • Deprecated the JDOM API (JAR v1.6.1 provides legacy support for XML file formats etc.)

  • New JAR file v1.6.2: supports command-line inputs for running models

  • Major improvements to handling of metadata and minimum datasets

  • Better error messages and checking of types

  • Proper fix for hemisphere based on lat/lng (note that E/W does not enter into calculation but does affect string/XML output)

  • Access to JAR NSM_VERSION and support for custom Newhall JAR file .onLoad

  • Added a NEWS.md file to track changes to the package.
  • jNSM source code and initial R package structure (d992732)