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
When I run the notebook I get this error at the cell "Create the API endpoint":
NameError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_15140\1286720228.py in <module>
22 'time': time_var,
23 'polygon': polygon,
---> 24 'Boundingshape': Boundingshape,
25 'format': reformat,
26 'projection': projection,
NameError: name 'Boundingshape' is not defined
The problem might be that I provided the area of interest with a shapefile, but in the 'subdict' object, the field 'spatialSubsettingShapefile' is listed as 'false'. 'temporalSubsetting' is also 'false' even though I provided dates.
This seems to result in Boundingshape never being defined in the block titled "Select subsetting, reformatting, and reprojection service options, if available." because the expected logical conditions are not met.
Here are the values for some of the variables in my workspace:
Relevant code block input and output below, and let me know if you need any more information:
Input short name, e.g. ATL03, here: MOD10_L2
Input start date in yyyy-MM-dd format: 2022-05-29
Input start time in HH:mm:ss format: 14:00:00
Input end date in yyyy-MM-dd format: 2022-06-22
Input end time in HH:mm:ss format: 16:00:00
# Here I just used the default shapefile that came with the notebook
Simplified polygon coordinates based on shapefile input: -51.1203803853486,69.21453533085385,-51.25214005333067,69.18690191925793,-50.04906889941042,69.08708570400971,-48.98867272012586,68.86377341849372,-48.47406719345924,68.95294818787565,-48.22490237564403,69.07628146713546,-48.64390544471899,69.42180752487434,-49.07439704242353,69.52418890858146,-50.41130570916474,69.24203271223362,-51.1203803853486,69.21453533085385
There are 168 granules of MOD10_L2 version 61 over my area and time of interest.
The average size of each granule is 10.55 MB and the total size of all 168 granules is 1772.72 MB
These reformatting options are available: ['GeoTIFF']
If you would like to reformat, copy and paste the reformatting option you would like (make sure to omit quotes, e.g. GeoTIFF), otherwise leave blank. GeoTIFF
These reprojection options are available with your requested format: ['GEOGRAPHIC', 'UNIVERSAL TRANSVERSE MERCATOR', 'POLAR STEREOGRAPHIC', 'SINUSOIDAL']
If you would like to reproject, copy and paste the reprojection option you would like (make sure to omit quotes), otherwise leave blank. UNIVERSAL TRANSVERSE MERCATOR
Variable subsetting is available. Would you like to subset a selection of variables? (y/n) n
There will be 1 total order(s) processed for our MOD10_L2 request.
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_5656\1286720228.py in <module>
22 'time': time_var,
23 'polygon': polygon,
---> 24 'Boundingshape': Boundingshape,
25 'format': reformat,
26 'projection': projection,
NameError: name 'Boundingshape' is not defined
The text was updated successfully, but these errors were encountered:
When I run the notebook I get this error at the cell "Create the API endpoint":
The problem might be that I provided the area of interest with a shapefile, but in the 'subdict' object, the field 'spatialSubsettingShapefile' is listed as 'false'. 'temporalSubsetting' is also 'false' even though I provided dates.
This seems to result in Boundingshape never being defined in the block titled "Select subsetting, reformatting, and reprojection service options, if available." because the expected logical conditions are not met.
Here are the values for some of the variables in my workspace:
Relevant code block input and output below, and let me know if you need any more information:
The text was updated successfully, but these errors were encountered: