Skip to content

Commit 75cf10b

Browse files
committed
fixed links in api documentation
1 parent 3522056 commit 75cf10b

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

sliderule/icesat2.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,9 @@ def init (url, verbose=False, max_resources=DEFAULT_MAX_REQUESTED_RESOURCES, log
531531
Parameters
532532
----------
533533
url : str
534-
the IP address or hostname of the SlideRule service (note, there is a special case where the url is provided as a list of strings instead of just a string; when a list is provided, the client hardcodes the set of servers that are used to process requests to the exact set provided; this is used for testing and for local installations and can be ignored by most users)
534+
the IP address or hostname of the SlideRule service (slidereearth.io by default)
535535
verbose : bool
536-
whether or not user level log messages received from SlideRule generate a Python log message (see `sliderule.set_verbose <../user_guide/SlideRule.html#set_verbose>`_)
536+
whether or not user level log messages received from SlideRule generate a Python log message
537537
max_resources : int
538538
the maximum number of resources that are allowed to be processed in a single request
539539
loglevel : int
@@ -585,7 +585,7 @@ def cmr(**kwargs):
585585
Parameters
586586
----------
587587
polygon: list
588-
either a single list of longitude,latitude in counter-clockwise order with first and last point matching, defining region of interest (see `polygons <../user_guide/ICESat-2.html#polygons>`_), or a list of such lists when the region includes more than one polygon
588+
either a single list of longitude,latitude in counter-clockwise order with first and last point matching, defining region of interest (see `polygons </rtd/user_guide/ICESat-2.html#id1>`_), or a list of such lists when the region includes more than one polygon
589589
time_start: str
590590
starting time for query in format ``<year>-<month>-<day>T<hour>:<minute>:<second>Z``
591591
time_end: str
@@ -709,16 +709,16 @@ def atl06 (parm, resource, asset=DEFAULT_ASSET):
709709
Parameters
710710
----------
711711
parms: dict
712-
parameters used to configure ATL06-SR algorithm processing (see `Parameters <../user_guide/ICESat-2.html#parameters>`_)
712+
parameters used to configure ATL06-SR algorithm processing (see `Parameters </rtds/user_guide/ICESat-2.html#parameters>`_)
713713
resource: str
714714
ATL03 HDF5 filename
715715
asset: str
716-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
716+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
717717
718718
Returns
719719
-------
720720
GeoDataFrame
721-
gridded elevations (see `Elevations <../user_guide/ICESat-2.html#elevations>`_)
721+
gridded elevations (see `Elevations </rtd/user_guide/ICESat-2.html#elevations>`_)
722722
'''
723723
return atl06p(parm, asset=asset, resources=[resource])
724724

@@ -741,9 +741,9 @@ def atl06p(parm, asset=DEFAULT_ASSET, version=DEFAULT_ICESAT2_SDP_VERSION, callb
741741
Parameters
742742
----------
743743
parms: dict
744-
parameters used to configure ATL06-SR algorithm processing (see `Parameters <../user_guide/ICESat-2.html#parameters>`_)
744+
parameters used to configure ATL06-SR algorithm processing (see `Parameters </rtd/user_guide/ICESat-2.html#parameters>`_)
745745
asset: str
746-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
746+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
747747
version: str
748748
the version of the ATL03 data to use for processing
749749
callbacks: dictionary
@@ -754,7 +754,7 @@ def atl06p(parm, asset=DEFAULT_ASSET, version=DEFAULT_ICESAT2_SDP_VERSION, callb
754754
Returns
755755
-------
756756
GeoDataFrame
757-
gridded elevations (see `Elevations <../user_guide/ICESat-2.html#elevations>`_)
757+
gridded elevations (see `Elevations </rtd/user_guide/ICESat-2.html#elevations>`_)
758758
759759
Examples
760760
--------
@@ -887,16 +887,16 @@ def atl03s (parm, resource, asset=DEFAULT_ASSET):
887887
Parameters
888888
----------
889889
parms: dict
890-
parameters used to configure ATL03 subsetting (see `Parameters <../user_guide/ICESat-2.html#parameters>`_)
890+
parameters used to configure ATL03 subsetting (see `Parameters </rtd/user_guide/ICESat-2.html#parameters>`_)
891891
resource: str
892892
ATL03 HDF5 filename
893893
asset: str
894-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
894+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
895895
896896
Returns
897897
-------
898898
GeoDataFrame
899-
ATL03 extents (see `Photon Segments <../user_guide/ICESat-2.html#photon-segments>`_)
899+
ATL03 extents (see `Photon Segments </rtd/user_guide/ICESat-2.html#segmented-photon-data>`_)
900900
'''
901901
return atl03sp(parm, asset=asset, resources=[resource])
902902

@@ -918,9 +918,9 @@ def atl03sp(parm, asset=DEFAULT_ASSET, version=DEFAULT_ICESAT2_SDP_VERSION, call
918918
Parameters
919919
----------
920920
parms: dict
921-
parameters used to configure ATL03 subsetting (see `Parameters <../user_guide/ICESat-2.html#parameters>`_)
921+
parameters used to configure ATL03 subsetting (see `Parameters </rtd/user_guide/ICESat-2.html#parameters>`_)
922922
asset: str
923-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
923+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
924924
version: str
925925
the version of the ATL03 data to return
926926
callbacks: dictionary
@@ -931,7 +931,7 @@ def atl03sp(parm, asset=DEFAULT_ASSET, version=DEFAULT_ICESAT2_SDP_VERSION, call
931931
Returns
932932
-------
933933
GeoDataFrame
934-
ATL03 segments (see `Photon Segments <../user_guide/ICESat-2.html#photon-segments>`_)
934+
ATL03 segments (see `Photon Segments </rtd/user_guide/ICESat-2.html#photon-segments>`_)
935935
'''
936936
try:
937937
tstart = time.perf_counter()
@@ -1112,7 +1112,7 @@ def h5 (dataset, resource, asset=DEFAULT_ASSET, datatype=sliderule.datatypes["DY
11121112
resource: str
11131113
HDF5 filename
11141114
asset: str
1115-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
1115+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
11161116
datatype: int
11171117
the type of data the returned dataset list should be in (datasets that are naturally of a different type undergo a best effort conversion to the specified data type before being returned)
11181118
col: int
@@ -1155,7 +1155,7 @@ def h5p (datasets, resource, asset=DEFAULT_ASSET):
11551155
parallel on the server side, but also shares a file context between the reads so that portions of the file that
11561156
need to be read multiple times do not result in multiple requests to S3.
11571157
1158-
For a full discussion of the data type conversion options, see `h5 <../user_guide/ICESat-2.html#h5>`_.
1158+
For a full discussion of the data type conversion options, see `h5 </rtd/api_reference/icesat2.html#h5>`_.
11591159
11601160
Parameters
11611161
----------
@@ -1164,7 +1164,7 @@ def h5p (datasets, resource, asset=DEFAULT_ASSET):
11641164
resource: str
11651165
HDF5 filename
11661166
asset: str
1167-
data source asset (see `Assets <../user_guide/ICESat-2.html#assets>`_)
1167+
data source asset (see `Assets </rtd/user_guide/ICESat-2.html#assets>`_)
11681168
11691169
Returns
11701170
-------

sliderule/ipxapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def atl03sp(ipx_region, parm, asset=icesat2.DEFAULT_ASSET):
9797
Returns
9898
-------
9999
list
100-
ATL03 segments (see `Photon Segments <../user_guide/ICESat-2.html#photon-segments>`_)
100+
ATL03 segments (see `Photon Segments <../user_guide/ICESat-2.html#segmented-photon-data>`_)
101101
"""
102102
try:
103103
version = ipx_region.product_version

sliderule/sliderule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def source (api, parm={}, stream=False, callbacks={}, path="/source"):
422422
parm: dict
423423
dictionary of request parameters
424424
stream: bool
425-
whether the request is a **normal** service or a **stream** service (see `De-serialization <./SlideRule.html#de-serialization>`_ for more details)
425+
whether the request is a **normal** service or a **stream** service (see `De-serialization </rtd/user_guide/SlideRule.html#de-serialization>`_ for more details)
426426
callbacks: dict
427427
record type callbacks (advanced use)
428428
path: str

0 commit comments

Comments
 (0)