LSST Applications g0fba68d861+179b51e827,g1ec0fe41b4+f536777771,g1fd858c14a+958e7c0317,g216c3ac8a7+b9c470ee50,g30d60c3aa8+0fb04ed403,g35bb328faa+fcb1d3bbc8,g4d2262a081+8fbe88b5f1,g53246c7159+fcb1d3bbc8,g56a49b3a55+a44ca4bdea,g5a012ec0e7+3632fc3ff3,g5b833f1e9f+693b976368,g60b5630c4e+693b976368,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+5e086a68f8,g8352419a5c+fcb1d3bbc8,g8852436030+bef424d5ca,g89139ef638+ed4b5058f4,g9125e01d80+fcb1d3bbc8,g94187f82dc+693b976368,g989de1cb63+ed4b5058f4,g9ccd5d7f00+b7cae620c0,g9d31334357+693b976368,g9f33ca652e+f3b9f38d88,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+bcd5b2011a,gb58c049af0+f03b321e39,gb89ab40317+ed4b5058f4,gc0af124501+57663cf5fa,gcf25f946ba+bef424d5ca,gd6cbbdb0b4+bb83cc51f8,gde0f65d7ad+f646b4d64f,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.16
LSST Data Management Base Package
Loading...
Searching...
No Matches
make_direct_warp.py
Go to the documentation of this file.
1# This file is part of pipe_tasks.
2#
3# Developed for the LSST Data Management System.
4# This product includes software developed by the LSST Project
5# (https://www.lsst.org).
6# See the COPYRIGHT file at the top-level directory of this distribution
7# for details of code ownership.
8#
9# This program is free software: you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <https://www.gnu.org/licenses/>.
21
22# TODO: Remove this entire file in DM-47521.
23
24import warnings
25
26try:
27 from lsst.drp.tasks.make_direct_warp import MakeDirectWarpConfig, MakeDirectWarpTask # noqa: F401
28except ImportError as error:
29 error.msg += ". Please import the warping tasks from drp_tasks package."
30 raise error
31finally:
32 warnings.warn(
33 "lsst.pipe.tasks.make_direct_warp is deprecated and will be removed after v29; "
34 "Please use lsst.drp.tasks.make_direct_warp instead.",
35 DeprecationWarning,
36 stacklevel=2,
37 )