|
400 | 400 | "metadata": {}, |
401 | 401 | "outputs": [], |
402 | 402 | "source": [ |
403 | | - "print(region_a.reqparams)\n", |
404 | | - "# region_a.reqparams['page_size'] = 9\n", |
405 | | - "# print(region_a.reqparams)" |
| 403 | + "print(region_a.reqparams)" |
406 | 404 | ] |
407 | 405 | }, |
408 | 406 | { |
|
659 | 657 | "------------------\n", |
660 | 658 | "------------------\n", |
661 | 659 | "### Step 4: Place the Data Order\n", |
662 | | - "We can send the order to NSIDC using the `order_granules()` function. Information about the granules ordered and their status will be printed automatically as well as emailed to the address provided. Additional information on the order, including request URLs (like the direct API request that is submitted), can be viewed by setting the optional keyword input 'verbose' to True. The verbose output can be helpful for troubleshooting (e.g. if you get errors from the subsetter) and relates to the output you'll see from other NSIDC resources." |
| 660 | + "We can send the order to NSIDC using the `order_granules()` function. Information about the granules ordered and their status will be printed automatically as well as emailed to the address provided. Email notifications can be set to false but they remain on as the default behavior. Additional information on the order, including request URLs (like the direct API request that is submitted), can be viewed by setting the optional keyword input 'verbose' to True. The verbose output can be helpful for troubleshooting (e.g. if you get errors from the subsetter) and relates to the output you'll see from other NSIDC resources." |
663 | 661 | ] |
664 | 662 | }, |
665 | 663 | { |
|
668 | 666 | "metadata": {}, |
669 | 667 | "outputs": [], |
670 | 668 | "source": [ |
671 | | - "# without variable subsetting, or with variable subsetting if you have run region_a.subsetparams(Coverage=region_a.order_vars.wanted)\n", |
| 669 | + "# Without variable subsetting, or with variable subsetting if you have run region_a.subsetparams(Coverage=region_a.order_vars.wanted):\n", |
672 | 670 | "region_a.order_granules()\n", |
673 | 671 | "\n", |
674 | | - "# with variable subsetting, if this is your first use of the Coverage keyword argument (kwarg)\n", |
| 672 | + "# # With variable subsetting, if this is your first use of the Coverage keyword argument (kwarg):\n", |
675 | 673 | "# region_a.order_granules(Coverage=region_a.order_vars.wanted)" |
676 | 674 | ] |
677 | 675 | }, |
|
681 | 679 | "metadata": {}, |
682 | 680 | "outputs": [], |
683 | 681 | "source": [ |
684 | | - "#region_a.order_granules(verbose=True)" |
| 682 | + "# # Set email notifications to false. These are sent by default:\n", |
| 683 | + "# region_a.order_granules(email=False)" |
| 684 | + ] |
| 685 | + }, |
| 686 | + { |
| 687 | + "cell_type": "code", |
| 688 | + "execution_count": null, |
| 689 | + "metadata": {}, |
| 690 | + "outputs": [], |
| 691 | + "source": [ |
| 692 | + "# # Additional information on the order including the API request itself using the verbose keyword:\n", |
| 693 | + "# region_a.order_granules(verbose=True)" |
685 | 694 | ] |
686 | 695 | }, |
687 | 696 | { |
|
690 | 699 | "metadata": {}, |
691 | 700 | "outputs": [], |
692 | 701 | "source": [ |
693 | | - "#view a short list of order IDs\n", |
| 702 | + "# View a short list of order IDs:\n", |
694 | 703 | "region_a.granules.orderIDs" |
695 | 704 | ] |
696 | 705 | }, |
|
0 commit comments