Skip to content

Commit

Permalink
#373 - removed maxi from all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Feb 1, 2024
1 parent 172f375 commit bd6ff74
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 19 deletions.
3 changes: 1 addition & 2 deletions clients/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ parms = {
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}

# make request
Expand Down
2 changes: 1 addition & 1 deletion clients/python/sliderule/icesat2.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def atl06p(parm, callbacks={}, resources=None, keep_id=False, as_numpy_array=Fal
--------
>>> from sliderule import icesat2
>>> icesat2.init("slideruleearth.io", True)
>>> parms = { "cnf": 4, "ats": 20.0, "cnt": 10, "len": 40.0, "res": 20.0, "maxi": 1 }
>>> parms = { "cnf": 4, "ats": 20.0, "cnt": 10, "len": 40.0, "res": 20.0 }
>>> resources = ["ATL03_20181019065445_03150111_003_01.h5"]
>>> atl03_asset = "atlas-local"
>>> rsps = icesat2.atl06p(parms, asset=atl03_asset, resources=resources)
Expand Down
3 changes: 1 addition & 2 deletions docs/rtd/source/getting_started/Getting-Started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ The `SlideRule` service provides a number of services which allow a user to proc
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
# make request (5)
Expand Down
6 changes: 2 additions & 4 deletions docs/rtd/source/tutorials/user/ancillary_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ __Step 2__: Create parameters for a typical `atl06p` processing request.
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
```
The **grandmesa.geojson** file used in this example can be downloaded by navigating to our [downloads](/rtd/tutorials/downloads.html) page; alternatively, you can create your own GeoJSON file at [geojson.io](https://geojson.io).
Expand Down Expand Up @@ -100,8 +99,7 @@ __Step 2__: Create parameters for a typical `atl06p` processing request.
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
```
The **grandmesa.geojson** file used in this example can be downloaded by navigating to our [downloads](/rtd/tutorials/downloads.html) page; alternatively, you can create your own GeoJSON file at [geojson.io](https://geojson.io).
Expand Down
3 changes: 1 addition & 2 deletions docs/rtd/source/tutorials/user/arcticdem_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ __Step 2__: Create parameters for a typical `atl06p` processing request.
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 6
"res": 20.0
}
```
The **dicksonfjord.geojson** file used in this example can be downloaded by navigating to our [downloads](/rtd/tutorials/downloads.html) page; alternatively, you can create your own GeoJSON file at [geojson.io](https://geojson.io). Be sure that your region of interest is in the arctic, otherwise there will be no data in the ArcticDEM for it.
Expand Down
3 changes: 1 addition & 2 deletions docs/rtd/source/tutorials/user/first_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ __Step 4__: Create a dictionary of processing parameters specifying how the elev
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
```
For a full description of the different processing parameters that are accepted by SlideRule, see [parameters](../../user_guide/ICESat-2.html#parameters). The parameters of interest here are _len_ which specifies the total along-track length of the segment used to calculate an elevation, and _res_ which specifies the along-track posting interval of the calculation.
Expand Down
3 changes: 1 addition & 2 deletions docs/rtd/source/tutorials/user/geoparquet_output.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ __Step 2__: Create parameters for a typical `atl06p` processing request (it coul
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"maxi": 6
"res": 20.0
}
```
The **grandmesa.geojson** file used in this example can be downloaded by navigating to our [downloads](/rtd/tutorials/downloads.html) page; alternatively, you can create your own GeoJSON file at [geojson.io](https://geojson.io).
Expand Down
6 changes: 2 additions & 4 deletions docs/rtd/source/user_guide/ICESat-2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ To run the YAPC algorithm, specify the YAPC settings as a sub-dictionary. Here i
"ats": 10.0,
"cnt": 5,
"len": 20.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
2.3 Photon-extent parameters
Expand Down Expand Up @@ -464,8 +463,7 @@ atl06
"ats": 20.0,
"cnt": 10,
"len": 40.0,
"res": 20.0,
"maxi": 1
"res": 20.0
}
# Build ATL06 Request
Expand Down

0 comments on commit bd6ff74

Please sign in to comment.