Information about a NetCDF file, in convenient form.

NetCDF(x)

Arguments

x

path to NetCDF file

Examples

rnc <- NetCDF(system.file("extdata", "S2008001.L3m_DAY_CHL_chlor_a_9km.nc", package= "rancid")) rnc
#> $dimension #> # A tibble: 4 x 7 #> name len unlim group_index group_id id create_dimvar #> <chr> <int> <lgl> <int> <int> <int> <lgl> #> 1 lat 2160 FALSE 1 65536 0 TRUE #> 2 lon 4320 FALSE 1 65536 1 TRUE #> 3 rgb 3 FALSE 1 65536 2 FALSE #> 4 eightbitcolor 256 FALSE 1 65536 3 FALSE #> #> $unlimdims #> NULL #> #> $dimvals #> # A tibble: 6,739 x 2 #> id vals #> <int> <dbl> #> 1 0 89.95834 #> 2 0 89.87500 #> 3 0 89.79167 #> 4 0 89.70834 #> 5 0 89.62500 #> 6 0 89.54167 #> 7 0 89.45834 #> 8 0 89.37500 #> 9 0 89.29167 #> 10 0 89.20834 #> # ... with 6,729 more rows #> #> $groups #> # A tibble: 3 x 6 #> id name ndims nvars natts #> <int> <chr> <int> <int> <int> #> 1 65536 4 4 65 #> 2 65537 processing_control 0 0 4 #> 3 65538 input_parameters 0 0 21 #> # ... with 1 more variables: fqgn <chr> #> #> $file #> # A tibble: 1 x 10 #> filename #> <chr> #> 1 /perm_storage/home/mdsumner/Git/rancid/inst/extdata/S2008001.L3m_DAY_CHL_chlor_a #> # ... with 9 more variables: writable <lgl>, id <int>, safemode <lgl>, #> # format <chr>, is_GMT <lgl>, ndims <dbl>, natts <dbl>, unlimdimid <dbl>, #> # nvars <dbl> #> #> $variable #> # A tibble: 2 x 18 #> name ndims natts prec units #> <chr> <int> <int> <chr> <chr> #> 1 chlor_a 2 12 float mg m^-3 #> 2 palette 2 0 unsigned byte #> # ... with 13 more variables: longname <chr>, group_index <int>, storage <int>, #> # shuffle <int>, compression <int>, unlim <lgl>, make_missing_value <lgl>, #> # missval <dbl>, hasAddOffset <lgl>, addOffset <dbl>, hasScaleFact <lgl>, #> # scaleFact <dbl>, id <dbl> #> #> $vardim #> # A tibble: 4 x 2 #> id dimids #> <dbl> <int> #> 1 0 1 #> 2 0 0 #> 3 3 3 #> 4 3 2 #> #> $attribute #> [1] "NetCDF attributes:" #> [1] "Global" #> [1] "\n" #> # A tibble: 1 x 65 #> product_name instrument #> <chr> <chr> #> 1 S2008001.L3m_DAY_CHL_chlor_a_9km.nc SeaWiFS #> # ... with 63 more variables: title <chr>, project <chr>, platform <chr>, #> # temporal_range <chr>, processing_version <chr>, date_created <chr>, #> # history <chr>, l2_flag_names <chr>, time_coverage_start <chr>, #> # time_coverage_end <chr>, start_orbit_number <int>, end_orbit_number <int>, #> # map_projection <chr>, latitude_units <chr>, longitude_units <chr>, #> # northernmost_latitude <dbl>, southernmost_latitude <dbl>, #> # westernmost_longitude <dbl>, easternmost_longitude <dbl>, #> # geospatial_lat_max <dbl>, geospatial_lat_min <dbl>, #> # geospatial_lon_max <dbl>, geospatial_lon_min <dbl>, #> # grid_mapping_name <chr>, latitude_step <dbl>, longitude_step <dbl>, #> # sw_point_latitude <dbl>, sw_point_longitude <dbl>, #> # geospatial_lon_resolution <dbl>, geospatial_lat_resolution <dbl>, #> # geospatial_lat_units <chr>, geospatial_lon_units <chr>, #> # spatialResolution <chr>, data_bins <int>, number_of_lines <int>, #> # number_of_columns <int>, measure <chr>, data_minimum <dbl>, #> # data_maximum <dbl>, suggested_image_scaling_minimum <dbl>, #> # suggested_image_scaling_maximum <dbl>, suggested_image_scaling_type <chr>, #> # suggested_image_scaling_applied <chr>, `_lastModified` <chr>, #> # Conventions <chr>, institution <chr>, standard_name_vocabulary <chr>, #> # Metadata_Conventions <chr>, naming_authority <chr>, id <chr>, #> # license <chr>, creator_name <chr>, publisher_name <chr>, #> # creator_email <chr>, publisher_email <chr>, creator_url <chr>, #> # publisher_url <chr>, processing_level <chr>, cdm_data_type <chr>, #> # identifier_product_doi_authority <chr>, identifier_product_doi <chr>, #> # keywords <chr>, keywords_vocabulary <chr> #> [1] "\n" #> [1] "Variable attributes:" #> character(0) #> #> attr(,"class") #> [1] "NetCDF" "list"