Package: jNSMR 0.3.1

jNSMR: Interface to the 'Java Newhall Simulation Model' (jNSM) "A Traditional Soil Climate Simulation Model"

Provides methods to create input, read output, and run the routines from the legacy Java Newhall Simulation Model (jNSM) for soil climate. Currently this package uses a modified version of the jNSM v1.6.1 which is available for download here: <https://www.nrcs.usda.gov/wps/portal/nrcs/detail/?cid=nrcs142p2_053559> and the source code found here <https://github.com/drww/newhall/>. The system requirements of the extraction and installation tools (Windows .EXE archive) at the official download link may not be met on your system but the core Java class files are stored in a platform-independent format (a Java JAR file; e.g. newhall-1.6.1.jar) which is a core dependency in this package. Several more recent modifications to the Newhall JAR file allow for higher throughput and more efficient batching of many simulations allowing for larger-than-memory raster-based inputs and outputs.

Authors:Soil and Plant Science Division Staff

jNSMR_0.3.1.tar.gz
jNSMR_0.3.1.zip(r-4.5)jNSMR_0.3.1.zip(r-4.4)jNSMR_0.3.1.zip(r-4.3)
jNSMR_0.3.1.tgz(r-4.4-any)jNSMR_0.3.1.tgz(r-4.3-any)
jNSMR_0.3.1.tar.gz(r-4.5-noble)jNSMR_0.3.1.tar.gz(r-4.4-noble)
jNSMR_0.3.1.tgz(r-4.4-emscripten)jNSMR_0.3.1.tgz(r-4.3-emscripten)
jNSMR.pdf |jNSMR.html
jNSMR/json (API)
NEWS

# Install 'jNSMR' in R:
install.packages('jNSMR', repos = c('https://brownag.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ncss-tech/jnsmr/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT

On CRAN:

climatejavajnsmmodelnewhallsimulationsoil

3.70 score 1 stars 25 scripts 34 exports 4 dependencies

Last updated 8 months agofrom:9532cbd324. Checks:OK: 3 NOTE: 4. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winNOTENov 19 2024
R-4.5-linuxNOTENov 19 2024
R-4.4-winNOTENov 19 2024
R-4.4-macNOTENov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:BASICSimulationModelcsv_NewhallDatasetCSVFileParserCSVResultsExporternewhall_batchnewhall_cmip6_cachenewhall_cmip6_rastnewhall_cmip6_subsetnewhall_CSVResultsExporternewhall_data_dirnewhall_daymet_subsetnewhall_GUInewhall_issr800_cachenewhall_issr800_rastnewhall_issr800_subsetnewhall_nad83_templatenewhall_prism_cachenewhall_prism_rastnewhall_prism_subsetnewhall_simulationnewhall_versionnewhall_worldclim_cachenewhall_worldclim_rastnewhall_worldclim_subsetnewhall_XMLResultsExporternewhall_XMLStringResultsExporterNewhallDatasetNewhallDatasetFromPathNewhallDatasetMetadatawriteRasterLayersxml_NewhallDatasetXMLFileParserXMLResultsExporterXMLStringResultsExporter

Dependencies:data.tableRcpprJavaterra

Applying Newhall to PRISM 30-year Normals for Continental United States

Rendered fromnewhall-prism.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-08-28
Started: 2022-01-06

Using Legacy Newhall v1.6.1 Routines

Rendered fromlegacy-newhall161.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-08-28
Started: 2022-07-06

Readme and manuals

Help Manual

Help pageTopics
Create an instance of _BASICSimulationModel_BASICSimulationModel
Create an instance of _CSVFileParser_CSVFileParser
Create an instance of _CSVResultsExporter_CSVResultsExporter
Run Newhall Soil Climate Simulationsnewhall_batch newhall_batch.character newhall_batch.default newhall_batch.RasterBrick newhall_batch.RasterStack newhall_batch.SpatRaster
Load CMIP6 Downscaled Future Climate Projectionsnewhall_cmip6_cache newhall_cmip6_rast newhall_cmip6_subset
Export Newhall Results, Data and Metadata to CSV file with _CSVResultsExporter_newhall_CSVResultsExporter
Newhall Data Directorynewhall_data_dir
Load DAYMET Monthly Data at 1 kilometer Resolutionnewhall_daymet_subset
Open the Java Newhall Graphical User Interfacenewhall_GUI
Load SoilWeb "ISSR-800" at 800 meter Resolutionnewhall_issr800_cache newhall_issr800_rast newhall_issr800_subset
Load PRISM Monthly "Normals" at 800 meter or 4 kilometer Resolutionnewhall_nad83_template newhall_prism_cache newhall_prism_rast newhall_prism_subset
Run Newhall _BASICSimulationModel_ simulationnewhall_simulation
Get Java Newhall JAR file versionnewhall_version
Load WorldClim Monthly Averagesnewhall_worldclim_cache newhall_worldclim_rast newhall_worldclim_subset
Export Newhall Results, Data and Metadata to XML file with _XMLResultsExporter_newhall_XMLResultsExporter
Export Newhall Results, Data and Metadata to XML string with _XMLStringResultsExporter_newhall_XMLStringResultsExporter
Create an instance of _NewhallDataset_NewhallDataset
Create an instance of _NewhallDataset_ from XML or CSV filecsv_NewhallDataset NewhallDatasetFromPath xml_NewhallDataset
Create an instance of _NewhallDatasetMetadata_NewhallDatasetMetadata
Iterate over multiband output and write as single-layer fileswriteRasterLayers
Create an instance of _XMLFileParser_XMLFileParser
Create an instance of _XMLResultsExporter_XMLResultsExporter
Create an instance of _XMLStringResultsExporter_XMLStringResultsExporter