Skip to content

Commit

Permalink
Revert "Variables as an independent class (#451)"
Browse files Browse the repository at this point in the history
This reverts commit fb28038.
  • Loading branch information
JessicaS11 authored Jan 5, 2024
1 parent 1f4a83c commit d77409a
Show file tree
Hide file tree
Showing 13 changed files with 461 additions and 880 deletions.
42 changes: 12 additions & 30 deletions doc/source/example_notebooks/IS2_data_access2-subsetting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"Create a query object and log in to Earthdata\n",
"\n",
Expand Down Expand Up @@ -85,9 +83,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"## Discover Subsetting Options\n",
"\n",
Expand All @@ -112,9 +108,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"By default, spatial and temporal subsetting based on your initial inputs is applied to your order unless you specify `subset=False` to `order_granules()` or `download_granules()` (which calls `order_granules` under the hood if you have not already placed your order) functions.\n",
"Additional subsetting options must be specified as keyword arguments to the order/download functions.\n",
Expand All @@ -124,9 +118,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"### _Why do I have to provide spatial bounds to icepyx even if I don't use them to subset my data order?_\n",
"\n",
Expand All @@ -140,9 +132,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"## About Data Variables in a query object\n",
"\n",
Expand All @@ -155,9 +145,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"### Determine what variables are available for your data product\n",
"There are multiple ways to get a complete list of available variables.\n",
Expand All @@ -171,29 +159,23 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"region_a.order_vars.avail()"
]
},
{
"cell_type": "markdown",
"metadata": {
"user_expressions": []
},
"metadata": {},
"source": [
"By passing the boolean `options=True` to the `avail` method, you can obtain lists of unique possible variable inputs (var_list inputs) and path subdirectory inputs (keyword_list and beam_list inputs) for your data product. These can be helpful for building your wanted variable list."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"region_a.order_vars.avail(options=True)"
Expand Down Expand Up @@ -371,9 +353,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "icepyx-dev",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "icepyx-dev"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -385,7 +367,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit d77409a

Please sign in to comment.