You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,7 @@ The contents of the configuration file should be a valid json object with the fo
167
167
| sendToHarmony | boolean | true/false if this collection should be processed using Harmony to generate browse images |
168
168
| operaHLSTreatment | boolean | true/false if this collection should have special OPERA_L3_DSWX-HLS processing applied to it (see [apply_opera_hls_treatment](bignbit/apply_opera_hls_treatment.py)) |
169
169
| imageFilenameRegex | string | Regular expression used to identify which file in a granule should be used as the image file. Uses first if multiple files match |
170
+
| nrtFilenameRegex | string | Regular expression used to identify whether a granule should be treated as NRT or standard. All files are assumed standard if not specified. |
170
171
| imgVariables | list(object) | List of JSON objects with at least one attribute called `id` whose value is the name of a variable to generate an image for. `all` can be used in cases where the collection does not have variables or all variables in the collection should have images generated |
171
172
| height | int |[OPTIONAL] Controls the height of the output image from Harmony (see https://github.com/nasa/harmony-browse-image-generator?tab=readme-ov-file#dimensions--scale-sizes)|
172
173
| width | int |[OPTIONAL] Controls the width of the output image from Harmony (see https://github.com/nasa/harmony-browse-image-generator?tab=readme-ov-file#dimensions--scale-sizes)|
Copy file name to clipboardExpand all lines: scripts/CONFIGURATION.md
+33-21Lines changed: 33 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,39 +21,51 @@ To configure a collection for bignbit, you need to have the following informatio
21
21
shortName Short name of the collection
22
22
23
23
--collectionId COLLECTIONID
24
-
CMR collection id, use if the collection name is ambiguous.
25
-
WARNING: since collection ids are venue-specific, the output config will need to be re-generated when deploying to a separate venue.
26
-
24
+
CMR collection id, use if the collection name is ambiguous. WARNING: since
25
+
collection ids are venue-specific, the output config will need to be re-
26
+
generated when deploying to a separate venue.
27
+
--no-sendToHarmony Specifies that the collection should not be processed by Harmony API.
28
+
Default is `sendToHarmony = True`.
29
+
--operaHLSTreatment Specifies whether the collection should receive the "OPERA HLS Treatment".
30
+
Default is `operaHLSTreatment = False`
27
31
--imageFilenameRegex IMAGEFILENAMEREGEX
28
-
Regular expression used to identify which file in a granule should be used as the image file.
29
-
Uses first if multiple files match
30
-
32
+
Regular expression used to identify which file in a granule should be used
33
+
as the image file. Uses first if multiple files match
34
+
--nrtFilenameRegex NRTFILENAMEREGEX
35
+
Regular expression used to identify whether a granule should be treated as
36
+
NRT or standard. All files are assumed standard if not specified.
31
37
--imgVariables VAR_NAME [VAR_NAME ...]
32
-
List of variable names (not UMM-Var concept ids) to use for generating browse image(s).
33
-
If none are provided, the default of "all" is used
34
-
38
+
List of variable names (not UMM-Var concept ids) to use for generating
39
+
browse image(s). If none are provided, the default of "all" is used
35
40
--dimensions HEIGHT WIDTH
36
-
Optional override to specify the height and width that each browse image should have when processed by Harmony.
37
-
41
+
Optional override to specify the height and width that each browse image
42
+
should have when processed by Harmony.
38
43
--scaleExtentPolar MINX MINY MAXX MAXY
39
44
Controls the geographic extent of polar-projected browse image outputs.
40
-
This keyword is ignored if `outputCrs` does not contain EPSG:3413 or EPSG:3031
41
-
(polar stereographic projections used by GIBS)
42
-
45
+
This keyword is ignored if `outputCrs` does not contain EPSG:3413 or
46
+
EPSG:3031 (polar stereographic projections used by GIBS)
43
47
--singleDayNumber JJJ
44
-
All granules in this dataset will use the day of year specified in this keyword. ex: "001" for January 1st
45
-
46
-
--subdaily Set to true if granules contain subdaily data. This will send `DataDateTime` metadata to GIBS as described in the GIBS ICD
47
-
48
-
--outputCrs list of CRS strings from these options: EPSG:4326,EPSG:3413,EPSG:3031,EPSG:3857
49
-
List of output projections or coordinate reference systems for which to produce browse images. Applies to all variables in granule. GIBS-compatible values are EPSG:4326, EPSG:3413, or EPSG:3031
48
+
All granules in this dataset will use the day of year specified in this
49
+
keyword. ex: "001" for January 1st
50
+
--subdaily Set to true if granules contain subdaily data. This will send
51
+
`DataDateTime` metadata to GIBS as described in the GIBS ICD
List of output projections or coordinate reference systems for which to
54
+
produce browse images. Applies to all variables in granule. GIBS-
55
+
compatible values are EPSG:4326, EPSG:3413, or EPSG:3031
56
+
--reprojection Set to true to force reprojection for all granules. This will send the
57
+
`outputCrs` parameter in Harmony API calls unconditionally. Warning: if
58
+
the Harmony service used to generate browse images does not support
59
+
reprojection, jobs will fail.
50
60
```
51
61
52
62
Additionally, you can provide the `--s3Destination` keyword if you wish to upload the dataset config directly to s3. You must have valid access credentials to your bucket in the environment you run the script if you wish to use this option.
53
63
54
64
```
55
65
--s3Destination BUCKET KEY
56
-
Specify an S3 URI (bucket key, ex: --s3Destination podaac-bignbit-sit-svc-internal big-config) to upload the config. Do not specify the filename, it is auto-generated.
66
+
Specify an S3 URI (bucket key, ex: --s3Destination podaac-bignbit-sit-svc-
67
+
internal big-config) to upload the config. Do not specify the filename, it
0 commit comments