From 008d4f456dc33d02980883551ea47c9635240587 Mon Sep 17 00:00:00 2001 From: Kathy Strabala Date: Mon, 19 Aug 2024 13:54:59 -0500 Subject: [PATCH 1/2] Fixed mistakes in example section for P2G Version 3.1 release. --- doc/source/readers/viirs_edr.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/source/readers/viirs_edr.rst b/doc/source/readers/viirs_edr.rst index 51d16244..6329ec12 100644 --- a/doc/source/readers/viirs_edr.rst +++ b/doc/source/readers/viirs_edr.rst @@ -21,12 +21,10 @@ Examples: polar2grid.sh -r viirs_edr -w geotiff -h - polar2grid.sh -r viirs_edr -w geotiff --list-products -f ../edr/*.h5 + polar2grid.sh -r viirs_edr -w geotiff --list-products -f ../edr/*.nc - polar2grid.sh -r viirs_edr -w geotiff -p true_color_surf false_color_surf --num-workers 8 --no-tiled -f ../edr/*.h5 + polar2grid.sh -r viirs_edr -w geotiff -p true_color_surf false_color_surf --num-workers 8 -f ../edr/edr/SurfRefl*.nc + polar2grid.sh -r viirs_edr -w hdf5 --add-geolocation --dtype float32 -p NDVI EVI --maximum-weight-mode -f SurfRefl*.nc -Product Explanation -------------------- - -TODO + polar2grid.sh -r viirs_edr -w awips_tiled -p AOD550 CldTopHght CldTopTemp -g lcc_conus_300 --sector-id LCC --letters --compress -f /viirs/JRR-AOD_v3r0_j01_s202406051854471_e202406051856116_c202406052204237.nc /viirs/JRR-CloudHeight_v3r0_j01_s202406051854471_e202406051856116_c202406052204237.nc From c9bb4f95264d98ef260102b01c175b439134c4dd Mon Sep 17 00:00:00 2001 From: Kathy Strabala Date: Fri, 23 Aug 2024 17:17:25 -0500 Subject: [PATCH 2/2] Fixed a couple of small mistakes in the doc, hoping to finally get this bloody P2G Version 3.1 released! --- doc/source/examples/acspo_example.rst | 6 +++--- doc/source/examples/asci_example.rst | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/examples/acspo_example.rst b/doc/source/examples/acspo_example.rst index fffe401d..985ea934 100644 --- a/doc/source/examples/acspo_example.rst +++ b/doc/source/examples/acspo_example.rst @@ -18,7 +18,7 @@ Find the options available for creating ACSPO VIIRS SST GeoTIFFs: List the products that can be created from your ACSPO NetCDF dataset: - ``polar2grid.sh -r acspo -w geotiff --list-products -f `` + ``polar2grid.sh -r acspo -w geotiff --list-products -f `` To create the default product image, which is `sst` taken from the `sea_surface_temperature` array in the ACSPO file, @@ -137,7 +137,7 @@ To add a color enhancement to this image, I use the *add_colormap.sh* utility script and a rainbow color table `p2g_sst_palette.txt` that is included as part of the Polar2Grid package. This table is formatted as described in the :ref:`util_add_colormap` section. You can view the file -`online `_. +`online `_. This colormap will assign a color value to each of the 0-255 brightness range in the GeoTIFF image. Again, the default brightness range is associated with a @@ -165,7 +165,7 @@ full range of brightness values. In order to do this, I need to create a new rescaling `yaml` file that I will then provide to polar2grid.sh. I chose an enhancment name of `great_lakes_sst` and will use the same standard_name of -`sea_surface_subskin_temperature` and then redefined the relationship between the brightness +`sea_surface_subskin_temperature` and then redefine the relationship between the brightness values and the data. I tighten the temperature range to be between 275.0 K and 305.0 K. The contents of my new rescale yaml file is shown below (`my_rescale.yaml`). diff --git a/doc/source/examples/asci_example.rst b/doc/source/examples/asci_example.rst index 16c4f4b3..a3eb412d 100644 --- a/doc/source/examples/asci_example.rst +++ b/doc/source/examples/asci_example.rst @@ -57,7 +57,7 @@ data files, I would use this command: .. code-block:: bash - polar2grid.sh -r acspo -w geotiff -p AOD550 -f viirs/JRR-AOD_*j01_s20240605185*.nc + polar2grid.sh -r viirs_edr -w geotiff -p AOD550 -f viirs/JRR-AOD_*j01_s20240605185*.nc An aggregated GeoTIFF image will be created from the 7 granule input files with the data re-projected into the WGS84 (Platte Carrée) projection by default. The image scaling @@ -173,7 +173,7 @@ is shown below, followed by the output image. --colorbar-title="Normalized Difference Vegetation Index (NDVI)" --add-coastlines \ --coastlines-outline "black" --coastlines-level 1 \ --coastlines-resolution=i --add-borders --borders-level 2 \ - --borders-outline gray --coastlines-width 2 --colorbar-tick-marks 10 \ + --borders-outline gray --coastlines-width 2 --colorbar-tick-marks 0.1 \ --colorbar-height 150 --colorbar-text-size 100 .. raw:: latex