Skip to content

Commit affcd4a

Browse files
authored
Merge pull request #1483 from lesserwhirls/docs
Documentation updates
2 parents 3790f28 + 3319546 commit affcd4a

6 files changed

Lines changed: 290 additions & 197 deletions

File tree

docs/src/site/_data/sidebars/netcdfJavaTutorial_sidebar.yml

Lines changed: 133 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -150,135 +150,146 @@ entries:
150150
- title: netCDF-Java Reference Docs
151151
output: web, pdf
152152
folderitems:
153-
154-
- title: ArrayStructures
155-
url: /arraystructures_ref.html
156-
output: web, pdf
157-
158-
- title: BUFR Files
159-
url: /bufr_processing.html
160-
output: web, pdf
161-
162-
- title: BUFR Tables
163-
url: /bufr_tables.html
164-
output: web, pdf
165-
166-
- title: CDM File Types
167-
url: /file_types.html
168-
output: web, pdf
169-
170-
- title: CDM Calendar Date Handling
171-
url: /cdm_calendar_date_time_ref.html
172-
output: web, pdf
173-
174-
- title: CDM Disk Caching
175-
url: /disk_caching.html
176-
output: web, pdf
177-
178-
- title: CDMRemote
179-
url: /cdmremote.html
180-
output: web, pdf
181-
182-
- title: CDMRemote Feature Datasets
183-
url: /cdmremote_feature_datasets.html
184-
output: web, pdf
185-
186-
- title: CDM to NetCDF Mapping
187-
url: /cdm_netcdf_mapping.html
188-
output: web, pdf
189-
190-
- title: CDM - OPeNDAP Interface
191-
url: /cdm_opendap_interface.html
192-
output: web, pdf
193-
194-
- title: NetCDF4 Compound Attributes
195-
url: /cdm_netcdf_mapping.html
196-
output: web, pdf
153+
- output: web, pdf
154+
subfolders:
155+
- title: More API
156+
output: web, pdf
157+
subfolderitems:
158+
- title: ArrayStructures
159+
url: /arraystructures_ref.html
160+
output: web, pdf
161+
162+
- title: CDM Calendar Date Handling
163+
url: /cdm_calendar_date_time_ref.html
164+
output: web, pdf
165+
166+
- title: CDM Disk Caching
167+
url: /disk_caching.html
168+
output: web, pdf
169+
- title: Dataset URLs
170+
url: /dataset_urls.html
171+
output: web, pdf
172+
173+
- title: Forecast Model Run Collection
174+
url: /fmrc_ref.html
175+
output: web, pdf
176+
177+
- title: netCDF C Library
178+
url: /netcdf4_c_library.html
179+
output: web, pdf
180+
181+
- title: PointFeature Reference
182+
url: /pointfeature_ref.html
183+
output: web, pdf
184+
185+
- title: Standard Horizontal Coordinate Transforms
186+
url: /std_horizonal_coord_transforms.html
187+
output: web, pdf
188+
189+
- title: Unidata Defined System Properties
190+
url: /systemproperties.html
191+
output: web, pdf
192+
- title: Common Data Model Mappings
193+
output: web, pdf
194+
subfolderitems:
195+
- title: CDM to NetCDF Mapping
196+
url: /cdm_netcdf_mapping.html
197+
output: web, pdf
198+
199+
- title: CDM - OPeNDAP Interface
200+
url: /cdm_opendap_interface.html
201+
output: web, pdf
202+
- title: Conventions
203+
output: web, pdf
204+
subfolderitems:
205+
- title: CF DSG Encoding Table
206+
url: /cf_dsg_encoding_ref.html
207+
output: web, pdf
208+
209+
- title: Coordinate Attribute Convention
210+
url: /coord_attr_conv.html
211+
output: web, pdf
212+
213+
- title: Data Formats
214+
output: web, pdf
215+
subfolderitems:
216+
- title: CDM File Types
217+
url: /file_types.html
218+
output: web, pdf
219+
220+
- title: BUFR Files
221+
url: /bufr_processing.html
222+
output: web, pdf
223+
224+
- title: BUFR Tables
225+
url: /bufr_tables.html
226+
output: web, pdf
227+
- title: GRIB Files in CDM
228+
url: /grib_files_cdm.html
229+
output: web, pdf
230+
231+
- title: GRIB Tables in CDM
232+
url: /grib_tables.html
233+
output: web, pdf
234+
235+
- title: GRIB Collection Specification
236+
url: /grib_feature_collections_ref.html
237+
output: web, pdf
238+
239+
- title: Reading Zarr
240+
url: /reading_zarr.html
241+
output: web, pdf
242+
243+
- title: Remote Access
244+
output: web, pdf
245+
subfolderitems:
246+
- title: Read CDM files over HTTP
247+
url: /read_over_http.html
248+
output: web, pdf
249+
250+
- title: CDMRemote
251+
url: /cdmremote.html
252+
output: web, pdf
253+
254+
- title: CDMRemote Feature Datasets
255+
url: /cdmremote_feature_datasets.html
256+
output: web, pdf
257+
258+
- title: NC Stream
259+
url: /ncstream.html
260+
output: web, pdf
261+
262+
- title: NC Stream Grammar
263+
url: /ncstream_grammar.html
264+
output: web, pdf
265+
266+
- title: NetCDF Subset Service
267+
external_url: https://docs.unidata.ucar.edu/tds/current/userguide/netcdf_subset_service_ref.html
268+
output: web, pdf
269+
270+
- title: NcML
271+
output: web, pdf
272+
subfolderitems:
273+
- title: NcML Overview
274+
url: /ncml_overview.html
275+
output: web, pdf
276+
277+
- title: NcML Cookbook
278+
url: /ncml_cookbook.html
279+
output: web, pdf
280+
281+
- title: Annotated Schema for NcML
282+
url: /annotated_ncml_schema.html
283+
output: web, pdf
197284

198285
- title: CDM Utility Programs
199286
url: /cdm_utility_programs.html
200287
output: web, pdf
201288

202-
- title: CF DSG Encoding Table
203-
url: /cf_dsg_encoding_ref.html
204-
output: web, pdf
205-
206-
- title: Coordinate Attribute Convention
207-
url: /coord_attr_conv.html
208-
output: web, pdf
209-
210-
- title: Dataset URLs
211-
url: /dataset_urls.html
212-
output: web, pdf
213-
214-
- title: Forecast Model Run Collection
215-
url: /fmrc_ref.html
216-
output: web, pdf
217-
218-
- title: GRIB Files in CDM
219-
url: /grib_files_cdm.html
220-
output: web, pdf
221-
222-
- title: GRIB Tables in CDM
223-
url: /grib_tables.html
224-
output: web, pdf
225-
226-
- title: GRIB Collection Specification
227-
url: /grib_feature_collections_ref.html
228-
output: web, pdf
229-
230-
- title: NcML Overview
231-
url: /ncml_overview.html
232-
output: web, pdf
233-
234-
- title: NcML Cookbook
235-
url: /ncml_cookbook.html
236-
output: web, pdf
237-
238-
- title: Annotated Schema for NcML
239-
url: /annotated_ncml_schema.html
240-
output: web, pdf
241-
242-
- title: NC Stream
243-
url: /ncstream.html
244-
output: web, pdf
245-
246-
- title: NC Stream Grammar
247-
url: /ncstream_grammar.html
248-
output: web, pdf
249-
250-
- title: netCDF-Java and TDS Doc Guide
251-
url: /doc_guide.html
252-
output: web, pdf
253-
254-
- title: NetCDF Subset Service
255-
external_url: https://docs.unidata.ucar.edu/tds/current/userguide/netcdf_subset_service_ref.html
256-
output: web, pdf
257-
258-
- title: netCDF C Library
259-
url: /netcdf4_c_library.html
260-
output: web, pdf
261-
262-
- title: PointFeature Reference
263-
url: /pointfeature_ref.html
264-
output: web, pdf
265-
266-
- title: Read CDM files over HTTP
267-
url: /read_over_http.html
268-
output: web, pdf
269-
270-
- title: Reading Zarr
271-
url: /reading_zarr.html
272-
output: web, pdf
273-
274-
- title: Standard Horizontal Coordinate Transforms
275-
url: /std_horizonal_coord_transforms.html
276-
output: web, pdf
277-
278289
- title: ToolsUI Reference
279290
url: /toolsui_ref.html
280291
output: web, pdf
281292

282-
- title: Unidata Defined System Properties
283-
url: /systemproperties.html
293+
- title: netCDF-Java and TDS Doc Guide
294+
url: /doc_guide.html
284295
output: web, pdf

docs/src/site/pages/netcdfJava/GribFilesCdm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ You must generate the GRIB Collection index file in a [separate step](#creating-
151151
A GRIB file is an unordered collection of GRIB records.
152152
A GRIB record consists of a single 2D (x, y) slice of data.
153153
The CDM library reads a GRIB file and creates a 2, 3,4, or 5 dimension Variable (time, ensemble, z, y, x), by finding the records with the same parameter, with different time / level / ensemble coordinates.
154-
This amounts to [guessing the dataset schema](https://www.unidata.ucar.edu/blogs/developer/en/entry/dataset_schemas_are_lost_in){:target="_blank"} and the intent of the data provider, and is unfortunately a bit arbitrary.
154+
This amounts to [guessing the dataset schema](https://www.unidata.ucar.edu/blogs/developer/entry/dataset_schemas_are_lost_in){:target="_blank"} and the intent of the data provider, and is unfortunately a bit arbitrary.
155155
Most of our testing is against the NCEP operational models from the [IDD](https://www.unidata.ucar.edu/projects/index.html#idd){:target="_blank"}, and so are influenced by those.
156156
Deciding how to group the GRIB records into CDM Variables is one of the main source of problems.
157157
It uses the following GRIB fields to construct a unique variable.

docs/src/site/pages/netcdfJava/Upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Please see the release notes on GitHub for more details on additions, enhancemen
6262
Point release notes:
6363
* [5.7.0](https://github.com/Unidata/netcdf-java/releases/tag/v5.7.0){:target="_blank"} (_2025-01-06_)
6464

65-
5.7.x adds support for a service provider interface for applying enhancements by NSF Unidata summer intern Leo Matak (see https://www.unidata.ucar.edu/blogs/developer/en/entry/extensible-ncml-for-ai-ml for more information!).
65+
5.7.x adds support for a service provider interface for applying enhancements by NSF Unidata summer intern Leo Matak (see https://www.unidata.ucar.edu/blogs/developer/entry/extensible-ncml-for-ai-ml for more information!).
6666
BUFR support has been enhanced to include multi-category messages thanks to an external contribution from github user @Yaqiang!
6767
Please see the release notes on GitHub for more details on additions, enhancements, and bug fixes.
6868

@@ -97,7 +97,7 @@ Point release notes:
9797

9898
Much of the work in 5.4.x is focused on establishing a public API.
9999
We now publish two sets of javadocs - [with](../javadoc-with-deprecations/){:target="_blank"} and [without deprecations](../javadoc/){:target="_blank"}.
100-
For more information about these efforts and why this work is being done, please visit ([link](https://www.unidata.ucar.edu/blogs/developer/en/entry/netcdf-java-looking-ahead){:target="_blank"}).
100+
For more information about these efforts and why this work is being done, please visit ([link](https://www.unidata.ucar.edu/blogs/developer/entry/netcdf-java-looking-ahead){:target="_blank"}).
101101
Only those classes and methods outlined in the javadocs [without deprecations](../javadoc/) will exist in the next major release of netCDF-Java (`v6.0`).
102102

103103
For more information about the changes in this release, please visit the [netCDF-Java github wiki](https://github.com/Unidata/netcdf-java/wiki#public-api-details){:target="_blank"}.

docs/src/site/pages/netcdfJava/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Netcdf-Java library supports writing netCDF-3 file format using the [classic dat
245245

246246
#### Q: What is the relationship of NetCDF with HDF5?
247247

248-
The netCDF-4 file format is built on top of the <a href="http://www.hdfgroup.org/HDF5/">HDF5 file format</a>. NetCDF adds shared dimensions, so it is unfortunately not a strict subset of HDF5. Gory details are here: <a href="https://www.unidata.ucar.edu/blogs/developer/en/entry/dimensions_scales">Part 1</a>, <a href="https://www.unidata.ucar.edu/blogs/developer/en/entry/dimension_scale2">Part 2</a>, <a href="https://www.unidata.ucar.edu/blogs/developer/en/entry/dimension_scales_part_3">Part 3</a>.
248+
The netCDF-4 file format is built on top of the <a href="http://www.hdfgroup.org/HDF5/">HDF5 file format</a>. NetCDF adds shared dimensions, so it is unfortunately not a strict subset of HDF5. Gory details are here: <a href="https://www.unidata.ucar.edu/blogs/developer/entry/dimensions_scales">Part 1</a>, <a href="https://www.unidata.ucar.edu/blogs/developer/entry/dimension_scale2">Part 2</a>, <a href="https://www.unidata.ucar.edu/blogs/developer/en/entry/dimension_scales_part_3">Part 3</a>.
249249

250250
HDF5 is a very complicated format, and we do not plan to write a pure Java version for writing netCDF4 files (we do have a pure Java version for reading both HDF5 and netCDF-4). You must use the JNI interface to the [netCDF C library](netcdf4_c_library.html).
251251

docs/src/site/pages/netcdfJava_tutorial/cdmdatasets/writing_netcdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The following examples demonstrate several ways to write data to an opened file.
117117
#### Writing to a netCDF-4 file with compression (version 4.5)
118118

119119
The main use of netCDF-4 is to get the performance benefits from compression, and possibly from chunking
120-
([why it matters](https://www.unidata.ucar.edu/blogs/developer/en/entry/chunking_data_why_it_matters)).
120+
([why it matters](https://www.unidata.ucar.edu/blogs/developer/entry/chunking_data_why_it_matters)).
121121
By default, the Java library will use the default chunking algorithm to write chunked and compressed netcdf-4 files.
122122
To control chunking and compression settings, you must create a `Nc4Chunking` object and pass it into `NetcdfFormatWriter.createNewNetcdf4`:
123123

0 commit comments

Comments
 (0)